As countries and companies race to secure AI's economic benefits, investment in data centres, energy infrastructure and digital networks is surging worldwide.