Artificial intelligence (AI) is engendering all kinds of breathless headlines, from being able to play Go to spotting rare cancer tumors. But how will AI impact the economy in broad terms? The answer hinges on both on what AI can be used for and the dynamics of a competitive race to adopt AI that’s set to unfold between firms.