Prediction: Investors Rotating Out of Artificial Intelligence (AI) Stocks Made a Costly Mistake. The Nasdaq Proves It.

Source Motley_fool

Key Points

  • AI stocks led market gains in recent years -- but in recent weeks, these players slipped.

  • Concerns about the war in Iran and general worries about AI weighed on the Nasdaq’s performance.

  • 10 stocks we like better than NASDAQ Composite Index ›

Over the past three years, artificial intelligence (AI) stocks have been the engine driving the stock market higher. Of course, many stocks across industries also gained, but AI stocks offered the biggest push. And for a good reason: AI has the potential to be the next major game-changing development in the world of technology, and this suggests that companies active in this area could score a big win -- in some cases, as soon as right now, and in many cases, down the road.

But in recent weeks, a new trend took shape: Some investors rotated out of AI stocks and into other areas. This happened amid various concerns, some directly related to AI and others related to the overall economic situation. For example, investors questioned whether the AI spending cycle would continue at the current pace or lose momentum. And they also worried about the conflict in Iran and its potential impact on the global economy.

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 »

This prompted them to shift away from high-growth stocks, such as AI companies, and toward "safer" investments, such as pharma stocks or dividend players. I love the idea of diversification -- and increasing this in a portfolio is very wise, as it can shield that portfolio from the worst in times of trouble. Still, my prediction is that investors rotating out of AI stocks made a costly mistake. And the Nasdaq proves it.

An investor works in a darkened office.

Image source: Getty Images.

Early AI winners

So, first, let's dig a bit deeper into what's happened in the AI arena in recent years -- and as the tide turned earlier this year. As mentioned, investors piled into AI stocks over the past three years as the potential of this technology became increasingly evident. Companies designing or manufacturing chips that fuel an early and key AI task -- the training of models -- were early winners. Here, I'm talking about names like Nvidia and Taiwan Semiconductor Manufacturing.

Cloud companies, which offer access to AI products and services, have also been among the first to monetize AI. For example, Amazon, owner of Amazon Web Services (AWS), has said that as soon as it makes new capacity available, it's able to monetize it.

Demand for capacity has skyrocketed, and to serve it, companies are going all in -- for example, tech giants aim to spend nearly $700 billion this year on the build-out.

All of this buoyed AI stocks -- until investors began worrying about the high valuations of certain players and questioned whether the revenue opportunities justified current levels of spending. Meanwhile, conflict in Iran intensified. And these elements all weighed on demand for growth stocks.

The Nasdaq's winning streak

But in recent days, amid optimism about potential negotiations between the U.S. and Iran, the Nasdaq rebounded. In fact, on April 17, it completed a 13-day winning streak, its longest since 1992. That gave the index a 5.2% gain for the year through that date.

In the near term, it's clear that the shift out of AI stocks may have been costly for some due to this rebound. But my prediction has to do with the long term. Stocks and indexes may traverse periods of volatility and good and bad times, but over a period of five years or more, the Nasdaq has shown us one thing in particular. A look at the chart below shows the Nasdaq's performance over the past 20 years, and though declines have occurred here and there, the index has always rebounded and gone on to advance -- reaching new highs along the way.

^IXIC Chart

^IXIC data by YCharts

A historical trend

In fact, over that time period, the index has climbed 1,000%. Considering the Nasdaq's heavy weighting in tech stocks, it's clear that quality tech players have driven this performance. This, along with the recent rebound of the Nasdaq, suggests that quality tech stocks -- and, in this case, many involved in AI -- may follow this historical trend and gain over the long term.

It's important to note that demand for AI continues at a high level, and as companies and individuals now begin to apply AI to real-world situations, this demand should continue growing. Chips, networking equipment, memory, cloud services, and other elements are key to the use of AI -- creating massive long-term revenue opportunities for companies in these areas.

All of this, along with the Nasdaq's recent and historical performance, supports my prediction that investors rotating out of AI are making a costly mistake.

Should you buy stock in NASDAQ Composite Index right now?

Before you buy stock in NASDAQ Composite Index, 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 NASDAQ Composite Index 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 $511,411!* 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,238,736!*

Now, it’s worth noting Stock Advisor’s total average return is 986% — a market-crushing outperformance compared to 199% 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 22, 2026.

Adria Cimino has positions in Amazon. The Motley Fool has positions in and recommends Amazon, Nvidia, and Taiwan Semiconductor Manufacturing. 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
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
Apr 08, Wed
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
placeholder
For the first time in 30 years, Nvidia won't release a new GeForce GPU generationNvidia has released new gaming processors every single year since the 1990s. That streak ends now. 2026 marks the first year without a fresh GeForce lineup since the company’s founding. “The gaming segment is no longer the driving force of the company. There was one point when it clearly was,” said Stacy Rasgon of Bernstein […]
Author  Cryptopolitan
Apr 20, Mon
Nvidia has released new gaming processors every single year since the 1990s. That streak ends now. 2026 marks the first year without a fresh GeForce lineup since the company’s founding. “The gaming segment is no longer the driving force of the company. There was one point when it clearly was,” said Stacy Rasgon of Bernstein […]
placeholder
Analyst Predicts the Best Bitcoin Short Setup in a YearBitcoin (BTC) is trading near $75,400 after rejecting $78,000 earlier this week. Price sits on the upper rail of an ascending parallel channel that has held for 75 days.The setup places Bitcoin at a p
Author  Beincrypto
9 hours ago
Bitcoin (BTC) is trading near $75,400 after rejecting $78,000 earlier this week. Price sits on the upper rail of an ascending parallel channel that has held for 75 days.The setup places Bitcoin at a p
placeholder
MicroStrategy Reports Massive Bitcoin Gain and Yield in AprilMicroStrategy reported a 6.2% BTC yield and a gain of 47,079 Bitcoin gain in the first three weeks of April. The Bitcoin (BTC) treasury company, led by Michael Saylor, said the gain is worth approxima
Author  Beincrypto
9 hours ago
MicroStrategy reported a 6.2% BTC yield and a gain of 47,079 Bitcoin gain in the first three weeks of April. The Bitcoin (BTC) treasury company, led by Michael Saylor, said the gain is worth approxima
goTop
quote