The PM will promise to cut regulations and use AI to make the Civil Service more efficient in a speech later.