It’s a staple of science fiction. 2001: A Space Odyssey; The Terminator; The Matrix; I, Robot. The plot: Humans create machines with artificial intelligence (AI). The machines become conscious. The machines turn on their human creators and kill or enslave…