Nvidia and Meta both joined the 12-zero club over the past few years.
Nvidia will remain the top AI stock for the foreseeable future.
Meta will continue to dominate the booming social media and advertising markets.
Over the past seven years, the market capitalizations of several top tech companies soared past the $1 trillion mark. Those gains were largely driven by the secular expansion of the cloud, artificial intelligence (AI), digital advertising, and chipmaking markets.
Two of those high-flying trillion-dollar stocks were Nvidia (NASDAQ: NVDA) and Meta Platforms (NASDAQ: META). Investors might be reluctant to invest in these two stocks after their gains over the past few years, but I think they're still safe to double up on right now.
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 »
Image source: Getty Images.
Nvidia's stock surged more than 21,000% over the past decade, turning it into the world's most valuable company with a market capitalization of $4.3 trillion. That rally was mainly driven by its brisk sales of data center GPUs for processing complex machine learning and AI tasks.
Nvidia now controls more than 90% of the discrete GPU and data center GPU markets, and nearly all of the world's top cloud and AI companies use its chips. It locks in those customers with CUDA (Compute Unified Device Architecture), its proprietary programming platform optimized for its own chips. In other words, it has plenty of room to grow because it will continue to sell the best picks and shovels for the AI gold rush for the foreseeable future.
Nvidia might face competition from cheaper data center GPU makers like AMD (NASDAQ: AMD) and custom AI accelerator chips built by its top customers, but its first-mover's advantage, "best in breed" reputation, and CUDA's stickiness should continue to drive its long-term growth. Its sales to China could also rise again if the U.S. relaxes its export curbs for AI-related chips.
From fiscal 2025 (which ended this January) to fiscal 2028, analysts expect Nvidia's revenue and adjusted EPS to grow at a CAGR of 46% and 29%, respectively. Those are incredible growth rates for a stock that trades at just 23 times next year's earnings.
While Nvidia might not replicate its millionaire-making gains from the past decade, it still has plenty of upside potential as the AI boom continues. Therefore, investors shouldn't be shy about doubling their existing positions in Nvidia -- even if the market seems a little frothy.
Meta Platforms' stock rallied more than 500% over the past decade, turning it into the world's sixth most valuable company with a market cap of $1.6 trillion. That growth was mainly driven by the expansion of its core social media platforms -- Facebook, Instagram, Messenger, and WhatsApp -- which now serve 3.54 billion daily active people (DAP) worldwide.
That massive audience makes it an essential digital advertising platform, and it holds a near-duopoly in digital ads with Alphabet's (NASDAQ: GOOG) (NASDAQ: GOOGL) Google across most of the world. Its total ad impressions and prices are also constantly rising, even as it faces fierce competition from ByteDance's TikTok and other social media platforms.
Meta's stock pulled back over the past few months as investors fretted over its rising AI infrastructure expenses and ongoing investments in its money-losing Reality Labs division. But from 2024 to 2027, analysts still expect its revenue and EPS to grow at a CAGR of 18% and 12%, respectively, as it gains more users, expands its ecosystem with Reels and Threads, and upgrades its AI algorithms to streamline its internal operations and craft better targeted ads.
Meta's stock looks reasonably valued at 22 times next year's earnings, and it remains a balanced play on the secular growth of the social media and digital advertising markets. Its Reality Labs investments could also pay off over the next few years as more consumers adopt its augmented reality and virtual reality devices. Investors who double their positions in Meta today and tune out the near-term noise could be well-rewarded over the long term.
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 $505,695!* 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,080,694!*
Now, it’s worth noting Stock Advisor’s total average return is 962% — a market-crushing outperformance compared to 193% 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 December 16, 2025.
Leo Sun has positions in Meta Platforms. The Motley Fool has positions in and recommends Advanced Micro Devices, Alphabet, Meta Platforms, and Nvidia. The Motley Fool has a disclosure policy.