AI tech teams will be sent into government departments to "drive improvements", Sir Keir Starmer will announce amid reports of thousands of civil service job cuts.