Nvidia (NVDA 1.49%) is officially the largest company in the world by market capitalization. The computer chipmaker that dominates the artificial intelligence (AI) field has grown at an insatiable rate over the last few years, making investors rich in the process.
That does not mean it will repeat over the next few years. Today, Nvidia trades at a premium price-to-earnings (P/E) ratio, faces competition from its own customers, and relies solely on the growth of AI infrastructure spending to keep the party going. This makes the stock a risky bet for investors at its current market cap of $4.6 trillion.
Is it time to forget Nvidia and buy some other AI stocks instead?
Image source: Getty Images.
Amazon's large capital investments
First up is Amazon (AMZN 1.58%). The technology giant is one of Nvidia's largest customers, spending a boatload of money each year on AI-related computer chips for its cloud infrastructure business, Amazon Web Services (AWS).
While Amazon will still remain an Nvidia customer, it has begun diversifying its chip procurement by developing in-house brands. Specifically, AWS is working closely with the fast-growing AI start-up Anthropic to build data centers using these in-house chips, slowly pushing Nvidia out as its preferred chip provider. This will save Amazon money while also potentially producing a headwind for Nvidia over the next few years.

NASDAQ: AMZN
Key Data Points
When looking at Amazon's business, it is doing just fine at the moment. Revenue from North American commerce grew 10% year over year last quarter to $127 billion, while AWS revenue was up 24% year over year to $35.6 billion. This year, Amazon plans to spend $200 billion on capital expenditures, primarily on AWS. This should lead to stronger growth for its AI cloud computing business as start-ups like Anthropic -- along with its existing corporate clients -- keep pouring billions of dollars into the AI race.
Alphabet's diversified exposure
The other major customer-turned-competitor to Nvidia is Alphabet (GOOGL 1.42%) (GOOG 1.49%), parent company of Google, YouTube, and Gemini. Alphabet was one of the first big tech companies to invest in its own computer chips, with the in-house Tensor Processing Units (TPUs) now powering a bunch of the business's internal data center usage and cloud infrastructure.
Like Amazon, Alphabet will remain a customer of Nvidia but could reduce its exposure to the third-party chipmaker over time.

NASDAQ: GOOGL
Key Data Points
Alphabet also has plenty of ways to benefit from the AI revolution, while Nvidia is focused solely on selling computer chips to data centers for close to 100% of its revenue. Alphabet's Google Search revenue rose 17%, and Google Cloud revenue rose 48%, both benefiting from the growing use of AI worldwide. Use of its advanced AI chatbot Gemini is growing quickly as well.
To top it all off, Alphabet and Amazon trade at P/E ratios below 30. Nvidia's is 46. These two stocks are much better AI bets for investors over the next few years, even if Nvidia crushed them over the last three.





