Artificial intelligence could be used to help generate exam questions, the head of England’s exams regulator has suggested.