Artificial intelligence has moved from the pages of science fiction into our classrooms, workplaces, businesses and homes.