At a speech on Thursday the prime minister will say that jobs should not exist if artificial intelligence or computers can do them better