2 Top Artificial Intelligence (AI) Stocks to Buy No Matter What Happens With Tariffs

Source Motley_fool

Artificial intelligence (AI) investing is somewhat affected by tariffs, as tariffs may be placed on components coming into the U.S. In addition, broader consumer demand may harm some of the cash flows that are being poured into AI investments.

I've got a few stocks that will be fine over the long term, regardless of what happens with tariffs. These are excellent stocks to scoop up now and should be purchased with the mindset of holding for three to five years.

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 »

The American flag.

Image source: Getty Images.

Meta Platforms

Meta Platforms (NASDAQ: META) is an advertising company that earns most of its revenue (98%) from ads on social media platforms like Facebook and Instagram. It uses the enormous cash flows from its base business to heavily invest in AI, which allows it to innovate in the ad realm and develop new technologies.

Tariffs may hurt Meta's primary business by causing some economic headwinds, which could affect advertising revenue streams. However, that will only be an initial shock, and while it could be a bumpy year or two, Meta's base business will be just fine over the next three to five years.

Over that time frame, there will undoubtedly be impressive AI developments, likely including Meta's AI glasses, which could become an important part of the Meta investment thesis if they become a hit. Regardless, I think there's a strong enough case for the base business to purchase Meta shares right now, no matter what happens with tariffs.

Meta is also fairly priced. Although it would have been better to buy it a few weeks ago when the markets bottomed, it's still priced at the lower end of where it has traded over the past year.

META PE Ratio Chart

META PE Ratio data by YCharts

Even though the market roared back, I think Meta still makes a compelling enough long-term investment to take a position in the stock now.

Nvidia

Nvidia (NASDAQ: NVDA) may be a surprise addition to this list, as it sources many of its chips from outside the country. However, Nvidia announced that its next-generation Blackwell GPUs will be produced entirely in the U.S. by 2026. With chips originating from Taiwan Semiconductor Manufacturing's Arizona facility and then assembled in Foxconn and Wistron plants in Texas, these GPUs won't be subject to tariffs, because they're domestically produced.

Nvidia's GPUs will still be in high demand over the next few years, as the AI hyperscalers are still working on building out their data center capacity. Furthermore, many GPUs originally purchased to train AI models will start to wear out, requiring Nvidia's customers to replace them. Third-party estimates pegged 2024 data center capital expenditures at $400 billion, but they're expected to rise to $1 trillion by 2028. This expansion will further bolster Nvidia's growth, making it a strong stock to buy (or at least continue holding).

Like Meta's stock, Nvidia's dramatically recovered but is still below where it traded for most of 2024.

NVDA PE Ratio (Forward) Chart

NVDA PE Ratio (Forward) data by YCharts

At 31 times forward earnings, Nvidia isn't necessarily cheap, but the future looks bright enough for the company that it would be smart to scoop up shares now.

Should you invest $1,000 in Meta Platforms right now?

Before you buy stock in Meta Platforms, 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 Meta Platforms 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 $642,582!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $829,879!*

Now, it’s worth noting Stock Advisor’s total average return is 975% — a market-crushing outperformance compared to 172% 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 May 19, 2025

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. Keithen Drury has positions in Meta Platforms, Nvidia, and Taiwan Semiconductor Manufacturing. The Motley Fool has positions in and recommends Meta Platforms, Nvidia, and Taiwan Semiconductor Manufacturing. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
US Dollar's Decline Predicted in 2026: Morgan Stanley's Outlook on Currency VolatilityMorgan Stanley forecasts a 5% drop in the dollar by mid-2026, attributed to continued Fed rate cuts. A recovery may follow as growth improves and funding currency dynamics shift favorably toward the euro and Swiss franc.
Author  Mitrade
Nov 25, Tue
Morgan Stanley forecasts a 5% drop in the dollar by mid-2026, attributed to continued Fed rate cuts. A recovery may follow as growth improves and funding currency dynamics shift favorably toward the euro and Swiss franc.
placeholder
Gold's Historic 2025 Rally: Can the Momentum Last Through 2026?Following a historic surge in 2025 that saw prices climb over 60% and break records more than 50 times, gold investors are now looking ahead to assess whether the precious metal can sustain its momentum into 2026. Despite outperforming most major asset classes and heading for its best annual performance since 1979, analysts are divided on the outlook—with some seeing further room for gains and others cautioning that risks are rising.
Author  Mitrade
Dec 09, Tue
Following a historic surge in 2025 that saw prices climb over 60% and break records more than 50 times, gold investors are now looking ahead to assess whether the precious metal can sustain its momentum into 2026. Despite outperforming most major asset classes and heading for its best annual performance since 1979, analysts are divided on the outlook—with some seeing further room for gains and others cautioning that risks are rising.
placeholder
Oracle's Weak Earnings Prompt Concerns Over AI Spending, Pressuring Nvidia and Industry RivalsOracle's disappointing earnings and soaring expenses have raised fears about AI spending sustainability, causing Nvidia and other related stocks to decline amidst heightened competition and concerns over mounting debt.
Author  Mitrade
Dec 11, Thu
Oracle's disappointing earnings and soaring expenses have raised fears about AI spending sustainability, causing Nvidia and other related stocks to decline amidst heightened competition and concerns over mounting debt.
placeholder
Bitcoin Falls Below $90,000 as AI Profit Fears Sour Risk SentimentBitcoin retreated below the $90,000 level on Thursday, extending a broader cryptocurrency sell-off as fresh concerns over the profitability of artificial intelligence investments weighed on technology stocks and dampened investor appetite for risk.
Author  Mitrade
Dec 11, Thu
Bitcoin retreated below the $90,000 level on Thursday, extending a broader cryptocurrency sell-off as fresh concerns over the profitability of artificial intelligence investments weighed on technology stocks and dampened investor appetite for risk.
placeholder
Asian Stocks Retreat as Tech Woes and China's Economic Concerns Weigh HeavyMost Asian markets fell on Monday, led by declining technology shares amid weak U.S. earnings guidance. Chinese stocks showed relative resilience, but wider economic fears suggest increased stimulus pressures.
Author  Mitrade
3 hours ago
Most Asian markets fell on Monday, led by declining technology shares amid weak U.S. earnings guidance. Chinese stocks showed relative resilience, but wider economic fears suggest increased stimulus pressures.
goTop
quote