The first lady shared the spotlight with the robot to promote the use of artificial intelligence in education.