A row is brewing between teaching unions and Number 10 over the impact AI could have on jobs, Sky News has learnt.