
Artificial intelligence is the great infrastructure build-out of our time. Alphabet (GOOGL) expects to invest between US$ 195 billion and US$ 205 billion in 2026, most of it in data centers and servers. Amazon (AMZN) has invested so heavily that its free cash flow for the 12 months to September was negative by US$ 42.4 billion. Both are in my international portfolio, along with AEP, the American utility that sells electricity to these data centers.
The question every investor asks is who will make money from all this. The 19th century went through a similar race, the railroad boom, and its answer is less obvious than it seems: those who laid the tracks were not always those who profited from them.
The track race
After the American Civil War, railroads became the technology everyone wanted to finance. Between 1866 and 1873, 35,000 miles of new track were laid in the United States, according to PBS. Banks, foreign investors and the government itself poured money into the sector.
Much of that money came from bonds with fixed interest rates. Railroad profits were not enough to pay for so much construction. In many regions, two or three companies built parallel lines to compete for the same freight.
The bill came due twice:
- 1873. Jay Cooke & Company, the bank financing the Northern Pacific, collapsed on September 18. In the crisis that followed, 89 of the country’s 364 railroads went bankrupt, according to PBS.
- 1893. With prices falling, many railroads no longer earned enough to pay the interest on their bonds. Between 1893 and 1897, companies owning about one-third of America’s railroad mileage passed through bankruptcy, according to the EBSCO research encyclopedia.
The losers were the creditors and shareholders of the construction phase. Financiers with deep pockets, such as J. P. Morgan and Edward Harriman, bought the bankrupt railroads, cut their debt, merged competing lines and reorganized them.
After the clean-up
In 1900, after the wave of bankruptcies and reorganizations, railroads made up 63% of the entire US stock market, according to the Global Investment Returns Yearbook 2026 by professors Elroy Dimson, Paul Marsh and Mike Staunton. Today, they account for less than 1%. The economy gained other sectors, and the tracks lost ground on the stock exchange.
The railroads that survived the bankruptcies and reorganizations, however, are still important businesses. In November 2009, Berkshire Hathaway (BRK.B) announced the purchase of BNSF, one of the largest railroads in the United States, in a deal worth about US$ 44 billion including assumed debt. Buffett called it “an all-in wager on the economic future of the United States.” In the third quarter of 2026, BNSF earned US$ 1.73 billion, 19% more than in the third quarter of 2025.
Building the road or collecting the toll
The idea that whoever builds the infrastructure can charge for its use in the future applies to railroads and to data centers. History shows, however, that the toll holds up only under three conditions:
- Little competition on the same route. Railroads competing for the same freight on parallel lines drove down each other’s prices.
- Debt in line with revenue. Fixed bond interest did not wait for revenue to show up.
- Protected pricing. Those with contracts or a regional monopoly came through the crises better than those who depended on the going price.
Today, the big tech companies are building data centers with their own cash and, increasingly, with debt and new shares. Alphabet has sold US$ 42.9 billion in new shares this year and issued US$ 28.7 billion in bonds in the third quarter alone. They are betting that demand for AI will justify the investment. Alphabet’s own CFO acknowledged that the spending will put pressure on free cash flow.
The utility is in a different position. AEP has 84 gigawatts of additional contracted demand through 2031. Of that total, 35 gigawatts are under “take-or-pay” contracts, in which the customer pays even if it uses less power. AEP does not need to know which AI company will win the race. They all need electricity, and the rates are approved by regulators.
| Railroads, 19th century | Artificial intelligence, 21st century | |
|---|---|---|
| Who builds | Railroad companies | Big tech (Alphabet, Amazon and others) |
| How it is financed | Fixed-rate bonds | Own cash and, increasingly, debt and new shares |
| Main risk | Parallel lines and revenue below interest costs | Capacity above demand and price wars |
| Who charges for use with protected pricing | Railroads with a regional monopoly, after reorganization | Regulated utilities with take-or-pay contracts |
The same logic in Brazil
Brazil’s listed power transmission companies follow the same protected-toll logic. They earn a fixed annual revenue for keeping their lines available, called RAP (Receita Anual Permitida, or allowed annual revenue). It is set by ANEEL, Brazil’s electricity regulator, adjusted for inflation every year, and paid regardless of how much power flows through the wires. Examples are Taesa (TAEE11) and ISA Energia (ISAE4), both traded only in São Paulo. That is why the blog treats transmission as the most predictable segment of Brazil’s power sector, and why it fits the idea of “cash cow” stocks explained in “Cash cow stocks in Brazil“.
The toll has risks too
Charging for use does not eliminate risk. It only moves it:
- Demand may not arrive. AEP itself warns, in its investor documents, that data center demand may come at a different pace or scale than expected.
- The regulator may tighten. Regulated rates protect, but they also cap. If household electricity bills rise too much, regulators may revisit who pays for what.
- The build-out is also financed with debt. AEP’s US$ 100 billion plan includes US$ 44.4 billion in new debt and about US$ 13.9 billion in new shares through 2031.
This article takes no view on whether there is an AI bubble. The history of the railroads does not tell us whether AI will succeed. It tells us that a technological revolution and the profits of those who invest in it are different things, and that the price paid and the type of revenue matter as much as the technology.
Practical takeaways
This article is not a recommendation to buy or sell GOOGL, AMZN, AEP, BRK.B, TAEE11, ISAE4 or any other stock. Three ideas to keep in mind:
- A revolution does not guarantee profits. Railroads transformed the American economy, and even so about one-third of the network passed through bankruptcy between 1893 and 1897.
- Charging for use with protected pricing carries less risk. Contracts, regulation and customers with no alternative support income better than being first.
- Whoever finances the build-out bears the most risk. In the track race, the creditors and shareholders of the construction phase were the ones who absorbed the bankruptcies.
For how Buffett’s criteria apply outside the United States, the blog looked at Brazilian stocks in “If Berkshire looked at Brazil“.
By Rodrigo Gomes Flores — Dividendo Certo
This is the English version of an article originally published in Portuguese on November 20, 2026.
Sources:
- UBS Global Investment Returns Yearbook 2026, summary edition (Dimson, Marsh and Staunton): railroads’ share of the US stock market in 1900 and today.
- PBS, American Experience: “The Panic of 1873”: miles built from 1866 to 1873, the failure of Jay Cooke & Company and the number of bankrupt railroads.
- EBSCO Research Starters: “Panic of 1893” (Nancy M. Gordon, 2021): bond financing, share of mileage that passed through bankruptcy from 1893 to 1897, and reorganization by Morgan and Harriman.
- Burlington Northern Santa Fe: announcement of the Berkshire Hathaway acquisition (Form 425, SEC, November 3, 2009): deal value and Warren Buffett’s statement.
- AEP: third-quarter 2026 results (October 28, 2026): contracted load, capital plan and the warning on data center demand uncertainty.
- Dividendo Certo, articles in Portuguese on Alphabet (October 31, 2026), AEP (November 3, 2026), Berkshire Hathaway (November 9, 2026), Amazon (November 18, 2026), power sector stocks (October 16, 2026) and Taesa (November 19, 2026).