The artificial intelligence investment boom resembles the tech spree that brought a productivity renaissance three decades ago.