The Economics of Artificial Intelligence