Investing

Warren Buffett’s lessons for investors as AI boom tests the stock market

Warren Buffett’s death comes at a volatile moment for the US stock market, as investors weigh the promise of artificial intelligence against concerns that the enormous sums being poured into the technology may not generate commensurate returns.

The S&P 500 is still up more than 8% for the year, but the market has experienced sharp swings in recent months.

It is also on track for its weakest annual performance since the index fell 19% in 2022.

Buffett, who built Berkshire Hathaway into one of the world’s most successful investment companies, had repeatedly cautioned against excessive enthusiasm and warned investors about the unpredictable consequences of technological breakthroughs.

In one of his final interviews with CNBC, Buffett warned that speculative trading had made the stock market increasingly resemble a gambling venue.

Speaking to Becky Quick in May 2026, he said:

“I’ve compared the markets to a church with a casino attached. And people can move between the church and casino. And I would say there are more people in the church and more people in the casino, but the casino has gotten very attractive to people. If you’re buying one-day options, or selling them, I mean that is – that’s not investing. It’s not speculating. It’s gambling…So we’ve never had people in a more gambling mood than now. But that doesn’t mean that investing is terrible. It does mean that prices for an awful lot of things will look very silly.”

Berkshire’s own long-term performance illustrated the value of patience.

Its shares gained more than 5,500,000% between 1965 and 2024, compared with a rise of more than 39,000% for the S&P 500, according to Buffett’s final formal annual shareholder letter.

His observations on AI, the stock market’s speculative mood and the importance of patience offer a framework for investors navigating the current environment.

Buffett warned about AI’s enormous potential and risks

At Berkshire Hathaway’s annual shareholder meeting in May 2024, Buffett described artificial intelligence as a technology with “enormous potential for good and enormous potential for harm.”

Earlier this year, he compared the uncertainty surrounding AI’s development with the geopolitical risks associated with nuclear weapons, an issue that shaped much of his investment career.

“Even the people that are smartest about it say they don’t know where it’s going,” Buffett said on a CNBC programme in January.

He likened the technology’s development to a genie that could not be put back into the bottle.

“People have thought about it ever since, and ultimately the only progress they’ve made is they’ve gone from what they thought was one country would have it, and … now we have eight, going on nine,” Buffett said.

“Now we’ve got some people that scare the hell out of you if they’ve got a pop gun, let alone a nuclear weapon.”

Despite his caution, one of Berkshire’s final major investment moves under Buffett involved buying shares in Alphabet, Google’s parent company.

Berkshire added to the position in June.

Buffett later said he regretted not investing in Alphabet earlier, but also questioned the scale of spending required to compete in AI.

“The real question with Google, and all of its competitors now, [is that] they’re all laying out hundreds of billions, and that’s real money,” Buffett said in July.

“That’s the game they’re playing now. They weren’t playing that game [in decades past] with computer software.”

Berkshire’s utility investments offer indirect AI exposure

While Berkshire’s Alphabet investment provided direct exposure to a major AI player, some of its most significant benefits from the technology boom may come from businesses Buffett acquired long before AI became a dominant market theme.

Berkshire completed its acquisition of MidAmerican Energy in 2000, securing a major utility business with operations across Iowa and the Midwest.

At the time, the investment was not linked to artificial intelligence.

Two decades later, however, the rapid expansion of data centres has made electricity infrastructure an increasingly valuable part of the AI ecosystem.

Iowa has emerged as a data centre hub, and Berkshire chief executive Greg Abel said at the company’s annual meeting in May that data centres accounted for 8% of Berkshire’s energy load in the state last year.

“Berkshire was already positioned to prosper off of AI’s most fundamental needs in energy and utilities, and it is very Buffett-like to have positioning that doesn’t require knowing who will be the main winner(s),” Ken Mahoney, president and CEO of Mahoney Asset Management, said in a CNN report.

Berkshire also owns NV Energy, which operates in Nevada, another state attracting data centre investment.

“He has long understood that you need to own companies that the economy simply cannot function without,” Mahoney said.

“Sometimes in business, boring is what makes the most consistent profits.”

Another example is Precision Castparts, which Berkshire acquired in 2016.

The manufacturer produces components used in turbines, a key part of electricity generation.

Buffett eventually acknowledged that Berkshire had paid “too much” for the business, resulting in an $11 billion write-down.

However, rising demand for electricity has increased interest in gas turbines and the complex components manufactured by Precision Castparts.

UBS highlights three Buffett principles for investors

In a note following Buffett’s death, UBS said several principles behind his investment record remain relevant to investors navigating today’s market.

The first is the importance of staying invested rather than reacting to short-term market movements.

Buffett typically bought businesses he believed could prosper over many years, rather than trading around daily market fluctuations.

UBS pointed out that some of the market’s strongest trading days have historically followed its steepest declines.

Between September 1989 and October 2026, an investment of $100 in the S&P 500 would have grown to approximately $3,600.

Missing only the index’s best day would have reduced that value by around 11%, to $3,200.

“We believe investors should maintain strategic allocations to equities and rebalance methodically rather than react to every unsettling headline. Staying invested does not mean ignoring risk; it means ensuring that short-term uncertainty does not displace a suitable long-term plan,” UBS said.

The second principle is investing in quality businesses with durable competitive advantages, capable management and the ability to generate and reinvest cash.

Buffett’s approach evolved from buying statistically cheap stocks to favouring companies with strong business models and lasting economic advantages.

UBS said this approach was particularly relevant when assessing AI investments.

“This is particularly relevant as investors assess their AI exposure. We favor established platforms with tangible monetization and strong balance sheets, and select leaders within semiconductors and hardware that hold advantageous market positions and pricing power,” it said.

“Quality also matters beyond tech, as a diversified portfolio drawing on companies across sectors and regions should help avoid making long-term outcomes dependent on a small number of companies or themes,” it added.

The third principle is the power of compounding through the reinvestment of earnings over long periods.

While investors need sufficient cash to meet near-term requirements, UBS warned that holding excess liquidity indefinitely could erode purchasing power through inflation and expose portfolios to reinvestment risk.

“Against the current backdrop of ongoing AI uncertainty and a likely deceleration in growth and earnings, investors with excess equity holdings can consider quality bonds, which offer income, diversification, and a potential cushion against market stress. Those uncomfortable with investing a lump sum can phase capital into a suitable allocation according to a predetermined timetable,” it said.

For investors confronting an uncertain AI-driven market, Buffett’s legacy may ultimately lie less in predicting which technology or company will dominate and more in the discipline of owning quality businesses, managing risk and allowing time to work in their favour.

AI disclosure: AI tools assisted with research and drafting of this piece. An Invezz editor reviewed the facts, sources and wording before publication. Any opinions or analysis are Invezz’s, not those of an automated system.

The post Warren Buffett’s lessons for investors as AI boom tests the stock market appeared first on Invezz

You may also like