Popular science fiction is replete with examples of artificial intelligence (AI) gone awry, from HAL, the killer AI of Arthur C. Clarke’s 2001: A Space Odyssey, to the supercomputer bent on nuclear ...