Pearson has extended its collaboration with cloud giant Amazon Web Services as the education group deepens its use of artificial intelligence.