Spanish economist Santiago Niño Becerra has asked whether the race to build data centers and other infrastructure for artificial intelligence is turning into a bubble on the scale of the 19th century railroad boom. He raised the question on X, sharing a table that compares different waves of US investment, from railroads in the 1800s to the projected expansion of AI.
The comparison stands out for its size. The table credits AI infrastructure construction with an average annual investment equal to 3.63% of US gross domestic product between 2025 and 2032. For the railroad expansion period from 1870 to 1890, it puts that share at 2.24%.
Both figures measure the scale of investment relative to the size of the economy. They are not estimates of profit, and they are not a direct measure of whether either boom was, or is, overvalued.

The chart comes from research by economist Stijn Van Nieuwerburgh, published by the Brookings Institution, a Washington-based think tank that studies economic and public policy issues. The AI figure is a projection for the years ahead, while the railroad-era figure describes a period that has already played out. That distinction matters before treating the table as a forecast of a coming crash.
The railroad comparison
Niño Becerra asked whether a "megabubble" is forming similar to the one he believes accompanied American railroad investment in the 19th century. The underlying idea is straightforward enough to follow: a technology can transform the economy while also drawing in investment that not every backer ends up recovering. The usefulness of the railroads did not stop some individual projects from failing.
Something similar is now driving scrutiny of the cost of data centers, the energy they require, and the revenue they will eventually be able to generate. The financial appetite around AI has already opened a debate over how much capital these projects can absorb before they produce adequate returns. The size of the spending is a signal worth watching, but it does not by itself prove that the investment will be lost.
What the table does not show
The comparison brings together projects built in eras with very different markets, financing sources and needs. It also does not indicate how much of today's spending will end up as profitable infrastructure.
To actually make the case for a bubble would require examining valuations, debt levels, expected profits and real capacity to repay that debt, on top of the sheer volume invested. Niño Becerra's chart addresses only the last of those.
The economist has previously voiced reservations about stock market prices linked to artificial intelligence. His latest post extends that concern to the physical facilities needed to support the technology. For now, he is posing an economic question rather than a prediction: whether future growth will justify an investment of this scale.
Test yourself
What percentage of US GDP does the chart attribute to projected AI infrastructure investment between 2025 and 2032?
Who published the research behind the chart Niño Becerra shared?
According to the article, what would be needed to actually prove AI investment is a bubble?
Have your say
Do you think current AI infrastructure investment will pay off?
