The AI boom has triggered massive spending, with companies investing heavily in infrastructure, startups, and data centers.