The artificial intelligence (AI) chip race just got more complicated. On Nov. 12, Nvidia, the leader in AI chips, announced that Jensen Huang had resigned as CEO. Huang’s exit leaves uncertainty about what comes next for Nvidia, and whether this opens the door for rival chip designers to gain ground on its lead.

But investors don’t have to worry about picking future winners in the chip race. There’s a simpler way to profit from AI chips: Own the companies that sell the machines used to make chips.

Global chip sales rose nearly 26% to $791 billion in 2025, according to the Semiconductor Industry Association. Industry group WSTS expects about $1.5 trillion in 2026 and $1.9 trillion in 2027.

Every chip is made in a factory with specialized equipment, and two suppliers stand out: Lam Research (LRCX), which makes tools that etch and deposit layers on a chip, and ASML (ASML), which makes the machines that print circuit patterns. Here’s why both are worth buying for the long term.

Lam Research is setting records
Lam Research has been a big winner, even after its recent pullback. As of Nov. 19, the stock was up 36% over the past year and 190% over three years, but it closed 54% below its June 30 high.

The business continues to expand. The September quarter was Lam’s fifth straight quarter of record revenue, at $8.2 billion, up 54% from a year earlier. Its adjusted operating margin topped 40% for the first time.

Management credits new products, manufacturing closer to customers’ factories, and pricing for its record margins. It sees an opportunity to lift gross margin from 52.4% last quarter to the mid-50s over the next several years.

Demand looks durable, too. Lam expects industry spending on chipmaking equipment to top $200 billion in 2027, up from the mid-$150 billion range this year. Chief financial officer Doug Bettinger said Lam sees 10 new tier I fabs coming online next year, meaning large, leading-edge factories ready to take new tools. This creates more opportunities to sell equipment.

Analysts expect Lam’s adjusted earnings per share to nearly triple from fiscal 2026 to fiscal 2029 (years ending in June), reaching $14.54. That works out to about 36% annual growth from fiscal 2026. Yet the stock trades at a forward price-to-earnings multiple of 22 based on this fiscal year’s estimate, which is low for that kind of growth.

ASML can’t build its machines fast enough
ASML has also rewarded patient investors. As of Nov. 16, shares were up 30% over the past year and 97% over three years, though they closed 32% below their June 30 high.

Chips don’t get made without ASML. It is the world’s only maker of extreme ultraviolet (EUV) lithography systems, which use a special kind of light to print the tiniest circuit patterns.

Demand is outpacing what it can build. Leading chipmakers have told ASML that demand for their products will outpace supply through at least 2028. As CEO Christophe Fouquet put it, “Customers are accelerating capacity build-out plans and preparing for further expansion beyond 2028 to better meet the anticipated level of demand.”

ASML now expects its planned output for both 2027 and 2028 won’t fully meet customer demand, so it’s considering raising 2028 capacity by at least 30%. Some customers are already expressing interest in placing orders for 2029 and even 2030.

Third-quarter sales and gross margin were both records, and management expects full-year 2026 sales to grow about 36%. Analysts expect the company’s earnings to more than triple by 2029, reaching $76.65.

The stock trades at about 22 times next year’s estimates, which looks attractive against analysts’ estimates calling for earnings to grow at an annualized growth rate of 45% over the next three years.

The tools are a better bet than picking the chip winner
Semiconductors are a cyclical business. If AI spending slows or new factories are delayed, tool orders could drop. Supply shortages are another headwind. Lam said its December-quarter outlook would have been higher if not for near-term supply chain constraints.

Still, the growing demand for AI chips will require more factories, and those factories will need machines from Lam and ASML. With Lam’s and ASML’s earnings expected to roughly triple over the next three years, I believe both stocks can deliver market-beating returns without picking winners and losers among chip designers.

— John Ballard

Where to Invest $99 [sponsor]
Motley Fool Stock Advisor's average stock pick is up over 350%*, beating the market by an incredible 4-1 margin. Here’s what you get if you join up with us today: Two new stock recommendations each month. A short list of Best Buys Now. Stocks we feel present the most timely buying opportunity, so you know what to focus on today. There's so much more, including a membership-fee-back guarantee. New members can join today for only $99/year.

Source: The Motley Fool