There’s a long history of killer AI in cinema. Today, those works of fiction feel more real than ever.