For all the hype around artificial intelligence—from curing cancer to accelerating space travel—tech leaders have been quick to emphasize its upside. Some, such as Elon Musk, have even suggested it ...