There’s a lot of panic and fear in the market right now, caused by the Trump administration’s tariff announcements. Artificial intelligence (AI) stocks, in particular, have been slammed as investors move their money from risky stocks to more conservative investments.
While I understand why, I’m more focused on the long term, and I’m looking for great deals that will be worth substantially more over the next five years.
I’ve come up with two strong picks that could soar over the next five years from today’s prices. Their strength can be tied to the massive AI demand that’s coming down the pipeline.
The two stocks I’m confident will be worth far more five years from now are Amazon (NASDAQ: AMZN) and Alphabet (NASDAQ: GOOG) (NASDAQ: GOOGL). At first glance, these two look like they will be whacked by the newly imposed tariffs.
Amazon is the leader in e-commerce and sources a substantial amount of goods from China, which was a major tariff target. Additionally, the de minimis exemption (which allowed for shipments valued at under $800 to avoid tariffs) was ended, harming many third-party sellers on the platform. This could cause the price of goods to rise on Amazon’s website, prompting consumers to spend less overall.
Alphabet derives about three-quarters of its revenue from advertising services. Advertising is one of the first areas where companies cut spending when they see a recession or weak times on the horizon. With such a large chunk of revenue coming from advertising, Alphabet will likely see its revenue tumble, should these tariffs force a recession.
Neither Amazon’s nor Alphabet’s outlook is very positive, so why do I think the stocks could be higher in five years? It has nothing to do with their base businesses.
Both Amazon and Alphabet are big players in the cloud computing space. Amazon Web Services (AWS) is the market share leader, and Google Cloud holds third place. Cloud computing providers are a huge benefactor of the AI build-out because many companies choose to run AI workloads on cloud servers rather than purchase the expensive computing equipment themselves.
Furthermore, there is a general move to run workloads on the cloud rather than on-premises because clients can easily scale usage up or down. They also don’t have to worry about a single point of failure or server maintenance or repairs.
Grand View Research estimated the cloud computing market was at around $752 billion in 2024, but expects it to grow quickly over the next five years until it reaches a $2.39 trillion opportunity by 2030. AWS and Google Cloud will be direct beneficiaries of that rise, and it makes me want to buy the stocks now because they are beaten down so much.
What many investors fail to understand about Amazon’s stock is that it isn’t an e-commerce company with a cloud computing side business; it’s actually the opposite.
In 2024, AWS only made up 17% of Amazon’s revenue. But the market doesn’t care about revenue; it cares about profits. From an operating profit standpoint, AWS generated 58% of Amazon’s total profit, which shows how much more efficient AWS is than the e-commerce business. This gap could widen if Amazon sees its e-commerce business struggle, but AWS will be there to pick up the slack.
Google Cloud isn’t as large a profit contributor for Alphabet as AWS is for Amazon. This is because Alphabet’s base business (advertising) is far more profitable than Amazon’s e-commerce business. Still, Google Cloud is by far the fastest-growing segment of Alphabet, increasing revenue at a 30% clip in Q4. It makes up around 12% of Alphabet’s total, but this share could grow if the advertising business slows due to weaker consumer spending.
Google Cloud’s growth will likely stay strong, and it will benefit from improving operating margins. In Q4, it generated a 17.5% margin compared to AWS’s 37%, so there is plenty of room for efficiency gains. This will lead to Google Cloud becoming a powerhouse within Alphabet, much like how AWS has become with Amazon.
Because the tailwinds for cloud computing are still raging during this drawdown, combined with both companies likely emerging just fine from any tariff-induced weakness, I think both stocks are fantastic buys right now. However, you’ll need to maintain a five-year outlook to benefit the most from owning these two stocks.
Before you buy stock in Amazon, 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 Amazon 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 $469,399!* Or when Nvidia made this list on April 15, 2005… if you invested $1,000 at the time of our recommendation, you’d have $590,231!*
Now, it’s worth noting Stock Advisor’s total average return is 731% — a market-crushing outperformance compared to 146% for the S&P 500. Don’t miss out on the latest top 10 list, available when you join Stock Advisor.
See the 10 stocks »
*Stock Advisor returns as of April 5, 2025
Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool’s board of directors. John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Keithen Drury has positions in Alphabet and Amazon. The Motley Fool has positions in and recommends Alphabet and Amazon. The Motley Fool has a disclosure policy.
2 Artificial Intelligence (AI) Stocks Poised for Big Gains in the Next 5 Years was originally published by The Motley Fool