Is the AI Gold Rush Over? Costco and Walmart Just Delivered a Sobering $163 Billion Warning to Shareholders of Nvidia, Palantir, and Other Red-Hot AI Stocks.

Source Motley_fool

Key Points

  • Shares of Nvidia and Palantir soared in the quadruple digits over three years, but they’ve lost momentum in recent weeks.

  • Investors have worried about AI spending and the general economic environment.

  • 10 stocks we like better than Nvidia ›

Over the past three years, artificial intelligence (AI) stocks have driven overall market gains -- investors, from the smallest retail investor to billionaire hedge fund managers, have piled into these players. And it's very easy to understand why. AI promises to shake up the way many things are done, and in a positive way -- the technology may help companies gain efficiency, develop better products faster, and more. And all of this equals cost savings and revenue growth.

So investors rushed to get in on big AI names such as Nvidia (NASDAQ: NVDA), Palantir Technologies (NASDAQ: PLTR), and other companies playing a big role in the field. These two advanced more than 1,100% and 2,600%, respectively, over the past three calendar years.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

But over the past few months, the mood in the stock market has changed. Investors, seeing valuations of AI stocks soar, began to worry about these levels -- and questioned whether they were sustainable. On top of this, turmoil in Iran and uncertainty about U.S. economic growth also weighed on investors' minds.

All of this hurt shares of AI players, including Nvidia and Palantir. So it's fair to ask: Is the AI gold rush over? Here, we may turn to a surprising source for some answers: Costco (NASDAQ: COST) and Walmart (NASDAQ: WMT). They recently delivered a particularly sobering warning to shareholders of Nvidia, Palantir, and the AI market in general.

An investor leans against a desk and looks pensively out a window.

Image source: Getty Images.

Getting in early on a hot technology

As mentioned, Nvidia and other top AI stocks have roared higher in recent years as investors eagerly rushed to the latest important development in the world of technology. History has shown us how getting in early on game-changing innovators may supercharge the performance of a portfolio. We can use the examples of smartphone giant Apple and e-commerce leader Amazon as examples.

AAPL Chart

AAPL data by YCharts

We can see the extent of gains since Apple launched the first iPhone in 2007, and after Amazon's profit passed the billion-dollar mark about 15 years ago. (And, importantly, these companies continue to deliver growth.)

So, investors may hope for similar returns as they pile into shares of companies leading in the new high-growth market of AI. Analysts expect the AI market to reach into the trillions of dollars by the end of the decade, so there could be a lot to gain by buying AI stocks early in the growth story.

But the recent market environment hasn't favored AI stocks -- as mentioned above, various concerns have weighed on their performance. And that leads me to the subject of Costco and Walmart. I probably don't have to introduce these retail giants to you, as you may shop at their stores regularly for groceries, essentials, and even discretionary items.

Now here's the warning from Costco and Walmart to shareholders of the most prominent AI stocks: In the first quarter, Costco and Walmart stock largely outperformed Nvidia stock.

NVDA Chart

NVDA data by YCharts

As a result, the retailers gained $60 billion and $103 billion in market cap, respectively, during the period. Meanwhile, Nvidia lost $300 billion in market value.

NVDA Market Cap Chart

NVDA Market Cap data by YCharts

Investors opt for safety

This suggests that investors clearly rotated out of the stock market darling and into companies that may be seen as "safer" in a difficult environment. The performance of the Vanguard Consumer Staples ETF further reflects this trend, as it gained more than 6% in the quarter. This exchanged-traded fund's biggest positions are in -- surprise! -- Walmart and Costco. Other top positions include Coca-Cola and Procter & Gamble, names that can maintain a certain level of revenue growth during any market environment, as consumers favor buying the items they truly need.

The idea here is that AI stocks may stagnate or even continue to decline as investors, seeking safety in a turbulent environment, abandon them for other industries.

Does this mean the AI gold rush is over? Not necessarily. Stocks such as Nvidia may be down now, but evidence doesn't support the idea of them being out. Tech companies continue to report strong demand for AI products and services, and customers are just beginning to put AI to use in the real world -- the real-world use of AI involves chips, networking tools, and entire data centers. So as long as companies and individuals are using AI, many companies supplying key components and services are set to continue winning from an earnings perspective.

How should you invest today?

All of this should translate into stock performance, too. So what does this mean for investors today? It's impossible to predict how long market uncertainty will last, but history has shown us that it's never permanent. Though Costco, Walmart, and other consumer staples stocks truly illustrate the current trend, this warning doesn't signal that the AI boom is over.

This means that investors in AI stocks should patiently hold onto quality positions and even consider adding to their portfolios when valuations look interesting. Even if we don't see a massive stampede into AI in the coming months, many companies involved in this hot technology still have what it takes to deliver explosive stock performance over the long run.

Should you buy stock in Nvidia right now?

Before you buy stock in Nvidia, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Nvidia wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $533,522!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,089,028!*

Now, it’s worth noting Stock Advisor’s total average return is 930% — a market-crushing outperformance compared to 185% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of April 8, 2026.

Adria Cimino has positions in Amazon. The Motley Fool has positions in and recommends Amazon, Apple, Costco Wholesale, Nvidia, Palantir Technologies, and Walmart and is short shares of Apple. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Solana Price Outlook: What To Expect From SOL In April 2026Solana (SOL) price enters April 2026 under pressure. March is closing at roughly -0.88%, extending a red streak that now stretches six consecutive months since October 2025.A head-and-shoulders breakd
Author  Beincrypto
Mar 31, Tue
Solana (SOL) price enters April 2026 under pressure. March is closing at roughly -0.88%, extending a red streak that now stretches six consecutive months since October 2025.A head-and-shoulders breakd
placeholder
Bitcoin Surges Past $71,000 as Trump Pauses Iran Strikes, Signals CeasefireBitcoin jumped to around $71,500 late April 7 after US President Donald Trump announced a sudden pause in planned military action against Iran, signaling a potential de-escalation in the ongoing confl
Author  Beincrypto
10 hours ago
Bitcoin jumped to around $71,500 late April 7 after US President Donald Trump announced a sudden pause in planned military action against Iran, signaling a potential de-escalation in the ongoing confl
placeholder
Bitcoin, Oil, and Stock Markets Flip as Trump’s Iran Deadline Nears Deal BreakthroughOil prices dropped sharply late April 7 while Bitcoin climbed back toward $70,000, as markets reacted to signs that a last-minute diplomatic breakthrough between the US and Iran may be close.Reports f
Author  Beincrypto
10 hours ago
Oil prices dropped sharply late April 7 while Bitcoin climbed back toward $70,000, as markets reacted to signs that a last-minute diplomatic breakthrough between the US and Iran may be close.Reports f
placeholder
Ripple Reveals $33 Trillion Stablecoin Prediction at XRP Tokyo 2026Onchain stablecoin volume will hit $33 trillion in 2026. That’s the headline figure from a Ripple flyer at XRP Tokyo 2026.The major XRPL conference takes place on April 7 in Japan. The message to fint
Author  Beincrypto
10 hours ago
Onchain stablecoin volume will hit $33 trillion in 2026. That’s the headline figure from a Ripple flyer at XRP Tokyo 2026.The major XRPL conference takes place on April 7 in Japan. The message to fint
placeholder
What to Expect From NVIDIA Stock Price in April 2026?NVIDIA (NASDAQ: NVDA) stock price trades at $177.64 on the 2-day chart, up 5.31% over the past days but still down 6% year-to-date. April sits at a unique inflection for the stock. The Iran conflict c
Author  Beincrypto
10 hours ago
NVIDIA (NASDAQ: NVDA) stock price trades at $177.64 on the 2-day chart, up 5.31% over the past days but still down 6% year-to-date. April sits at a unique inflection for the stock. The Iran conflict c
goTop
quote