Investments have poured into data center projects as a way to cash in on booming demand for processing power unleashed by the advent of artificial intelligence.