The upheavals [of artificial intelligence] can escalate quickly and become scarier and even cataclysmic,” the New York Times tech columnist once wrote. “Imagine how a medical robot, originally programmed to rid cancer, could conclude that the best way to obliterate cancer is to exterminate humans who are genetically prone to the disease.