There's an entire subgenre in science fiction devoted to the potential dangers of artificial intelligence (A.I.). The finest A.I.-themed films…