Missed Out on Nvidia? My Best AI Stock to Buy and Hold

Nvidia and TSM are two AI stocks that are trading at reasonable valuations and remain well-poised to deliver outsized returns.

The artificial intelligence (AI) race is heating up, with big tech giants such as Microsoft, Meta, Alphabet, and Amazon investing billions of dollars seeking an early mover advantage. One beneficiary of the AI boom has been Nvidia (NASDAQ: NVDA), which is selling shovels amid the gold rush.

Nvidia’s data centre business produces graphic processing units, or GPUs: chips used to train and deploy AI platforms. The semiconductor giant has seen its data centre sales grow from US$3 billion in fiscal 2020 (ended in January) to US$98 billion in the last 12 months. While the tech stock currently trades 10% below its all-time high, it has returned over 2,000% to shareholders in the last five years, valuing the company at a market cap of US$3.3 trillion.

The AI market is forecast to expand at a brisk pace over the next decade, which seems Nvidia’s growth story is far from over. In fact, Wall Street expects Nvidia’s adjusted earnings per share to expand from US$1.3 in fiscal 2024 to US$6 per share in fiscal 2027.

If NVDA stock is priced at a trailing price-to-earnings multiple of 40 times, it will trade at US$240 in early 2027, indicating an upside potential of 78% from current levels.

However, Taiwan Semiconductor (NYSE: TSM) is another AI stock that may deliver outsized gains to shareholders and outpace Nvidia through 2027 and beyond. Let’s see why.

nvidia headquarters with grey nvidia sign in front with nvidia logo

Why TSM stock may outperform Nvidia

Taiwan Semiconductor is another pick-and-shovel play that is growing at an enviable pace. The world’s largest contract chip manufacturer, Taiwan Semiconductor, produces advanced microchips for companies such as Apple, Nvidia, and Advanced Micro Devices.

It specializes in manufacturing chips using cutting-edge process technologies catering to customer specifications. This business model allows other tech companies to access advanced chip manufacturing without investing in building their own fabrication plants.

In the third quarter (Q3) of 2024, TSMC reported revenue of US$23.5 billion, an increase of 39% year over year. Its gross margin expanded by 4.6 percentage points sequentially to 57.8%, while its operating margin grew to 47.5%, up from 42.5%. The company attributed its margin expansion to higher capacity utilization rates and cost improvement initiatives.

With US$69 billion in cash and over US$12 billion in quarterly operating cash flow, Taiwan Semiconductor has the flexibility to reinvest in organic growth and drive future cash flows higher. In 2024, TSMC allocated over US$30 billion towards capital expenditures, most of which will be spent on advanced process technologies.

While the high-performance computing market accounted for 51% of sales, the smartphone segment was next with a 34% share in Q3 of 2024.

AI has emerged as a significant growth driver for TSMC as it expects server processor revenue to more than triple in 2024, accounting for roughly 15% of the top line, indicating the acceleration of AI-related demand.

TSMC projects Q4 sales to grow 35% year over year to US$26.5 billion, given midpoint estimates. Analysts tracking the tech stock expect adjusted earnings to double from US$5.2 per share in 2023 to US$10 per share in 2026. Priced at 19.7 times forward earnings, TSM stock is reasonably valued and should outpace its peers in 2025 and beyond.

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool’s board of directors. Randi Zuckerberg, a former director of market development and spokeswoman for Facebook and sister to Meta Platforms CEO Mark Zuckerberg, is a member of The Motley Fool's board of directors. Fool contributor Aditya Raghunath has no position in any of the stocks mentioned. The Motley Fool recommends Advanced Micro Devices, Alphabet, Amazon, Apple, Meta Platforms, Microsoft, Nvidia, and Taiwan Semiconductor Manufacturing. The Motley Fool has a disclosure policy.

More on Tech Stocks

The letters AI glowing on a circuit board processor.
Tech Stocks

Celestica Raised Its 2026 Revenue Outlook to US$20.5 Billion: I Think the Stock Is a Buy Now

Here’s why Celestica’s growing role in AI infrastructure and its recent pullback make it one of the top Canadian stocks…

Read more »

quantum correlation
Tech Stocks

5N Plus Is Down 45% and Looks Cheap: The Price at Which it Becomes a Buy

With expanding production capacity, a robust order backlog, and favourable long-term industry trends, 5N Plus appears well-positioned for sustained growth,…

Read more »

telehealth stocks
Tech Stocks

1 Canadian Stock Down 42% to Buy and Hold Forever

This health tech stock is trading at a discount as it continues to grow and expand a business very much…

Read more »

space ship model takes off
Tech Stocks

Ottawa’s Defence Spending Boom: This Canadian Tech Stock is Already Cashing In

MDA has identifiable government and defence work, but its backlog and profit margins reveal more than the spending headlines.

Read more »

Printing canadian dollar bills on a print machine
Tech Stocks

I’d Keep Shopify for its 18% Free Cash Flow Margin

With an expanding 18% free cash flow margin and massive share buybacks, Shopify proves why it remains a top TSX…

Read more »

quantum computing is still in infancy
Tech Stocks

A Quantum Computing Stock Canadian Investors Can Buy Now

Looking for a quantum computing stock? D-Wave offers exposure to an emerging industry, with paying customers and plenty still to…

Read more »

ETF is short for exchange traded fund, a popular investment choice for Canadians
Tech Stocks

A Handful of Tech Giants Is Carrying Wall Street: Canadians Holding U.S. Index ETFs Should Know How Concentrated They Really Are

XQQ's top 10 holdings make up 46% of the fund. See how concentrated Canada's Nasdaq 100 ETF is and why…

Read more »

man makes the timeout gesture with his hands
Dividend Stocks

Why Dividend Cuts Happen and How to Spot the Warning Signs

Learn why dividend cuts happen and how to spot warning signs, using BCE and TELUS to examine cash flow, debt,…

Read more »