Amazon’s data centers and e-commerce shipments are exposed to the conflict.
Nvidia’s GPU sales could slow down as energy costs rise.
Those macro headwinds could throttle TSMC's orders.
The explosive growth of the artificial intelligence (AI) market drove many tech stocks to their record highs in recent years. However, many of those high-flying stocks pulled back in recent months as the war in Iran intensified. Let's examine three of the top AI stocks caught in the crossfire -- Amazon (NASDAQ: AMZN), Nvidia (NASDAQ: NVDA), and TSMC (NYSE: TSM) -- and see what smart investors should do for the rest of this tumultuous year.
Image source: Getty Images.
Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »
Amazon owns Amazon Web Services (AWS), the world's largest cloud infrastructure platform. In early March, Iran attacked AWS data centers in the UAE and Bahrain with drones and missiles in an attempt to cripple the region's websites, apps, and cloud services. As of this writing, two of AWS's three availability zones in the UAE remain "impaired", while the third one is operating "normally" with an "indirect impact due to dependencies on the affected zones".
Amazon's e-commerce business is also being affected by higher oil prices and disruptions of shipments through the Strait of Hormuz. Higher oil prices could exacerbate inflation and curb consumer spending on its e-commerce marketplace, which generates most of its revenue. As that happens, AWS -- which generates most of its profits -- could struggle with higher expenses.
Nvidia, the world's largest discrete GPU maker, generates most of its revenue from the data center market. Energy costs can account for up to 60% of a data center operator's expenses, so soaring oil prices could drive AI companies to throttle their purchases of Nvidia's pricey GPUs. They could also drive more data center operators to buy AMD's (NASDAQ: AMD) cheaper GPUs or develop their own custom AI accelerators with Broadcom (NASDAQ: AVGO).
TSMC, the world's largest contract chipmaker, manufactures chips for Nvidia and other leading AI chipmakers. If those fabless chipmakers struggle with slower orders, TSMC's revenue will decline. Meanwhile, higher energy costs will drive up its manufacturing expenses.
All three of these stocks will also lose their luster if the Iranian war intensifies and sparks a rotation from higher-growth tech stocks toward more conservative investments. Energy and defense stocks will likely draw many investors away from AI-driven stocks.
The smartest thing for investors in Amazon, Nvidia, and TSMC to do this year is to simply do nothing. AWS still has 35 local regions worldwide, and it will remain the backbone of the global internet regardless of the near-term challenges in the Middle East. As for its e-commerce business, it's weathered numerous oil price spikes and logistics disruptions over the past two decades.
Nvidia might suffer a near-term slowdown if macro headwinds prompt data center operators to rein in spending, but it still controls over 90% of the data center GPU market. It also locks those customers into its proprietary software and services, so it should remain the top maker of picks and shovels for the booming AI market for the foreseeable future.
As for TSMC, it will continue to produce the world's smallest, densest, and most power-efficient chips. It's certainly a cyclical stock, but it's far ahead of its closest competitors -- Samsung and Intel (NASDAQ: INTC) -- and remains a linchpin of the semiconductor market's growth.
According to Grand View Research, the global AI market could still expand at a 30.6% CAGR from 2026 to 2033 as more industries adopt AI tools to streamline their operations. Geopolitical conflicts could also create long-term tailwinds for the AI industry, as more governments adopt AI-powered platforms to predict future events and plan their military strategies.
Therefore, selling Amazon, Nvidia, TSMC, and other top AI stocks simply because the Iranian conflict is escalating would be a myopic move. Instead, investors should tune out the near-term noise and focus on the compelling reasons to hold these stocks for a few more decades.
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 $494,747!* 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,094,668!*
Now, it’s worth noting Stock Advisor’s total average return is 911% — a market-crushing outperformance compared to 186% 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 March 20, 2026.
Leo Sun has positions in Amazon. The Motley Fool has positions in and recommends Advanced Micro Devices, Amazon, Intel, Nvidia, and Taiwan Semiconductor Manufacturing. The Motley Fool recommends Broadcom. The Motley Fool has a disclosure policy.