The Biggest Risk to Your Stock Portfolio Is Not Buying AI -- It's Buying the Wrong Kind of AI

Source The Motley Fool

Key Points

  • The artificial intelligence industry is growing, but not all AI stocks are destined to deliver exceptional returns.

  • Tech infrastructure is one area experiencing rapid expansion because of AI.

  • For AI software companies, long-term success will depend heavily on the strength of their economic moats.

  • 10 stocks we like better than Nvidia ›

The debut of OpenAI's ChatGPT toward the end of 2022 kicked off the current artificial intelligence (AI) frenzy. In the years that followed, it seemed as if any company that could reasonably tout its connection to the AI trend could see its share price skyrocket. Those days are coming to an end.

That may be hard to believe, given that the industry is forecast to soar in value from $255 billion in 2025 to $1.7 trillion by 2031. This kind of growth means investing in AI stocks is a good move. However, some sectors within the AI market are booming, while the long-term growth opportunities in others are murkier.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Continue »

As a result, investors must be selective when choosing AI stocks. Let's dissect the artificial intelligence industry to help build an investment portfolio with the potential for solid returns over time.

A glowing computer chip with the letters "AI" written on it sits on top of circuitry.

Image source: Getty Images.

The compelling case for AI infrastructure stocks

One of the hottest AI areas right now is tech infrastructure. Jensen Huang, CEO of Nvidia (NASDAQ: NVDA), predicted this would be the case in 2024, stating, "Companies and countries are partnering with Nvidia to shift the trillion-dollar traditional data centers to accelerated computing and build a new type of data center -- AI factories -- to produce a new commodity: artificial intelligence."

AI systems are powered by data centers, but older facilities are not designed to support the technology, especially as its sophistication increases, as illustrated by the rise of agentic AI. Consequently, new AI-optimized data centers are being built. To support AI's tremendous computational needs, some will be the size of cities.

Due to their size and complexity, these data centers require high-speed, reliable components, such as the products offered by Credo Technology Group (NASDAQ: CRDO) and Astera Labs (NASDAQ: ALAB). Hence, investing in businesses that support the buildout of AI factories is a great way to benefit from this growth.

Semiconductor chip designer Nvidia is among these, since its famed graphics processing units (GPUs) remain in high demand to provide processing power to AI systems. The company booked record revenue of $57 billion in its fiscal 2026 third quarter, which ended Oct. 26, an impressive 62% year-over-year increase.

Fortune Business Insights predicts that the AI infrastructure market will grow from $46 billion in 2024 to $356 billion by 2032, delivering a multiyear tailwind for businesses in the sector. This includes energy companies supplying power to massive AI data centers.

A good way to capitalize on such trends is through exchange-traded funds (ETFs). An example is the First Trust NASDAQ Clean Edge Smart Grid Infrastructure Index Fund (NASDAQ: GRID), which holds in its portfolio companies engaged in the electrical grid and related areas, such as energy storage and management.

Mixed results in the AI software sector

ETFs are an excellent way of diversifying your portfolio. This is a crucial safeguard against risk, particularly when it comes to software companies, since not all will see sustained business growth from AI. For software-focused organizations to achieve long-term AI success, their tech must be superior to what competitors offer and provide an economic moat.

For example, Palantir Technologies (NASDAQ: PLTR) delivers AI software to the U.S. government. So does BigBear.ai (NYSE: BBAI). Yet while Palantir's third-quarter government sales soared 52% year over year to $486 million, BigBear.ai's Q3 revenue fell 20% to $33.1 million, largely due to the Trump administration's spending cuts.

Palantir thrived thanks to its proprietary ontology, which enables its AI software to deliver real-world results. Palantir's business performance compared to BigBear.ai illustrates why not all AI software companies will be winners, especially as the technology evolves toward artificial general intelligence (AGI), a still-theoretical level beyond which AI systems would be able to reason as effectively as humans.

Tech for the future of AI

According to OpenAI CFO Sarah Friar, AGI is "the point at which AI systems can take on the majority of the value-added human work in the world. And we're getting close to that being the case." To get to that level, more computing horsepower will be needed. That's why the next frontier for AI could rest in quantum computing companies.

Quantum computers tap the peculiar properties of quantum mechanics to process data in ways that are fundamentally different than how classical computers operate. As a result, they can, in principle, solve certain unusual types of extraordinarily complex calculations in minutes that would take today's supercomputers centuries to complete. This tech could provide the computational foundation required to support AGI, but the industry is still in its infancy and has major hurdles to overcome.

For instance, the qubits that lie at the heart of quantum computers are delicate, which makes the machines vastly more prone to errors than a traditional computer. The tasks of reducing the number of errors they produce and effectively recognizing and correcting those that occur are the chief challenges every player in the space faces. One of the leading contenders, IBM (NYSE: IBM), says that by 2029, it expects to deliver a fault-tolerant quantum computer -- in other words, one that has a low enough error rate and a robust enough error-corrrection capacity to be truly useful. The arrival of such machines would open a path to widespread adoption of the tech.

IBM's overall sales are doing well, growing 9% year over year to $16.3 billion in Q3. It has also increased its dividend annually for 30 consecutive years, making the stock a reliable source of passive income.

Nvidia is playing a role in this area of AI as well. The company's NVQLink platform acts as a bridge between quantum computers and classical supercomputers, which helps address challenges such as error correction. Given that its fingers are in many AI pies, Nvidia will be a key artificial intelligence stock to own in 2026 and beyond.

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 $474,578!* 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,141,628!*

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

Robert Izquierdo has positions in International Business Machines, Nvidia, and Palantir Technologies. The Motley Fool has positions in and recommends International Business Machines, Nvidia, and Palantir Technologies. The Motley Fool recommends Astera Labs. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
How Is the Crypto Market Structure Bill Progressing? Advancing or Hindering the Future of Cryptocurrency?The crypto market structure bill has encountered opposition led by Coinbase and is currently stalled, but it is expected to eventually pass and propel the crypto market forward.According
Author  TradingKey
Jan 16, Fri
The crypto market structure bill has encountered opposition led by Coinbase and is currently stalled, but it is expected to eventually pass and propel the crypto market forward.According
placeholder
Bitcoin breaks above $97,000 as crypto kicks off first major rally of 2026Cryptocurrency markets are experiencing the first major rally of 2026. Bitcoin reached a high of over $97,000, and Ethereum edged close to $3,400 on Wednesday afternoon. Some analysts predict this is part of a larger bullish trend. Cryptocurrency markets appear to be coming out of hibernation as Bitcoin and key altcoins reach price levels not […]
Author  Cryptopolitan
Jan 16, Fri
Cryptocurrency markets are experiencing the first major rally of 2026. Bitcoin reached a high of over $97,000, and Ethereum edged close to $3,400 on Wednesday afternoon. Some analysts predict this is part of a larger bullish trend. Cryptocurrency markets appear to be coming out of hibernation as Bitcoin and key altcoins reach price levels not […]
placeholder
XRP ‘Super Cycle’ talk runs into a weekly SuperTrend sell signalXRP “super cycle” chatter faces a weekly SuperTrend sell signal, with XRP down 2% to $2.07 over the past week even as broader crypto markets tick higher.
Author  Mitrade
Jan 16, Fri
XRP “super cycle” chatter faces a weekly SuperTrend sell signal, with XRP down 2% to $2.07 over the past week even as broader crypto markets tick higher.
placeholder
Bitcoin Flashes Classic Bottom Signals as BTC Nears $101K ReclaimBitcoin nears two-month highs with key indicators signaling potential for further gains as it targets $101,000.
Author  Mitrade
Jan 16, Fri
Bitcoin nears two-month highs with key indicators signaling potential for further gains as it targets $101,000.
placeholder
AUD/USD holds ground near 0.6700 due to cautious RBA toneAUD/USD moves little after two days of gains, hovering around 0.6700 during the Asian hours on Friday. The pair steadies as the Australian Dollar (AUD) receives support amid cautious sentiment surrounding the Reserve Bank of Australia’s (RBA) policy outlook.
Author  FXStreet
Jan 16, Fri
AUD/USD moves little after two days of gains, hovering around 0.6700 during the Asian hours on Friday. The pair steadies as the Australian Dollar (AUD) receives support amid cautious sentiment surrounding the Reserve Bank of Australia’s (RBA) policy outlook.
goTop
quote