Cumulative spending globally on data centers alone could top $30 trillion by 2050, according to a projection by PwC, almost matching the value of outstanding US Treasuries. It "dwarfs" what was spent in the railroad or dotcom booms, even after adjusting for inflation, PwC said.