2 AI Stocks to Buy if the Market Sells Off Before Year-End

Source The Motley Fool

Key Points

  • SpaceX and Tesla are capitalizing on their AI-related work, and there could be more to come.

  • However, both companies look too expensive at current levels.

  • Their shares might become attractive following a sell-off.

  • Motley Fool Issues Rare "Total Conviction" Buy Alert ›

The broader stock market has been resilient this year despite significant problems, including geopolitical tensions and a challenging macroeconomic landscape. However, it is still possible that equities will experience a sell-off by the end of the year. Long-term investors need not worry too much about that. Stock market downturns happen fairly regularly, and they typically offer astute investors the opportunity to pick up shares of great companies on the dip.

And with many people fearing that the market is overvalued right now due to pricey artificial intelligence (AI) stocks, a sell-off might make some AI companies much more attractive. With that said, let's consider two AI stocks to buy if there is a market downturn by year-end: Space Exploration Technologies (NASDAQ: SPCX) and Tesla (NASDAQ: TSLA).

Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »

SpaceX and Tesla logos.

Image source: The Motley Fool.

1. Space Exploration Technologies

According to management, SpaceX could generate $1 trillion in revenue by 2030, with AI accounting for 99% of the company's value by then. Those are ambitious goals, but they might be within SpaceX's reach after all. The company has added several AI compute deals to its portfolio in recent months, and its AI segment has been its fastest-growing.

In the third quarter, SpaceX's total revenue increased by 161% year over year to $14.6 billion. The company's AI segment, dubbed Super Intelligence (SI), recorded $7.6 billion in sales, up 830% compared to the year-ago period. That wasn't all organic growth, but even putting aside an acquisition that closed in August and contributed $608 million in revenue for SI, the segment's year-over-year sales growth was an impressive 755%.

What's more, SpaceX still sees significant demand ahead for its AI products. CEO Elon Musk said we may be moving toward a shortage of SI compute that could last a while. There is some evidence for that from SpaceX's own business. The company is seeing several times as much demand for AI compute as it is willing to rent out, and even older systems are renting at a premium compared to when they were new.

If this trend continues, SpaceX's SI business could maintain strong revenue growth over the medium term. However, the market seems to have already factored that into the share price. SpaceX's forward price-to-earnings (P/E) ratio is 85.5, which is very high. And despite significant progress across all three of its segments since its debut on equity markets -- as well as excellent financial results -- the stock hasn't gained much, if at all. SpaceX is a great business and would be much more attractive at the right price. It could reach that price if a sell-off is imminent. But at current levels, the stock isn't a buy.

2. Tesla

Tesla shares several similarities with SpaceX. Notably, it is led by Elon Musk and is investing heavily in AI. Tesla does not offer AI services, but its future is heavily dependent on the technology. Consider, for instance, that the company's Full Self-Driving (FSD) software has been trained on data from real-world driving situations. AI allows Tesla's vehicles running on its FSD software to process data in real time and make decisions on the fly. This is critical for the company's business for several reasons.

The FSD software has grown in popularity and has helped boost Tesla's electric vehicle (EV) sales in recent quarters. The company generates decent sales from this business, since it charges $99 per month for FSD subscriptions. This business is generating close to $1 billion in annual recurring revenue. It could expand significantly over the next few years.

Further, Tesla is scaling its robotaxi fleet, a business where its FSD software will be even more central. If this becomes a successful unit, Tesla could generate revenue from its EVs through their entire useful lives. So, Tesla could be looking at massive opportunities ahead that AI will help it tap into, and we haven't even mentioned the company's humanoid robot project, which also depends heavily on AI. However, Tesla has the same problem as SpaceX: valuation. Tesla is trading at 133.3x forward earnings. The stock could be a great buy on the dip -- whether in a marketwide or company-specific sell-off -- but until then, I'd rather stay away.

Should you buy stock in Space Exploration Technologies right now?

Before you buy stock in Space Exploration Technologies, 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 Space Exploration Technologies 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 $337,166!* 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,339,143!*

Now, it’s worth noting Stock Advisor’s total average return is 904% — a market-crushing outperformance compared to 213% 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 October 28, 2026.

Prosper Junior Bakiny has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Tesla. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
The Fed will sit still on October 28 — but 100 of 100 economists now expect a December hikeA Reuters poll run October 16-20 found 94 of 100 economists expecting the Fed to hold at 3.75-4.00% on October 28 — and all 100 expecting a hike in December, against less than half a month earlier. The market is close to the same price, with CME FedWatch at roughly 17% for October and 82.8% for December. With the Fed in blackout since October 17, here are the five dates that decide the rest of the year, what each one is priced for, and the two directions each can take.
Author  Irene Q.
Oct 22, Thu
A Reuters poll run October 16-20 found 94 of 100 economists expecting the Fed to hold at 3.75-4.00% on October 28 — and all 100 expecting a hike in December, against less than half a month earlier. The market is close to the same price, with CME FedWatch at roughly 17% for October and 82.8% for December. With the Fed in blackout since October 17, here are the five dates that decide the rest of the year, what each one is priced for, and the two directions each can take.
placeholder
Big Tech's $800 billion AI bill faces its first real test — free cash flow is the judgeAlphabet and Microsoft report after the close on October 28, Amazon on October 29, with hyperscaler AI capex running near $800 billion a year. Meta's negative free cash flow and 9.40% drop on October 22 was the warning; this week's prints decide whether cloud growth and backlog can pay for the buildout. Here are the consensus numbers, the free-cash-flow table and the two-sided test.
Author  Irene Q.
Oct 26, Mon
Alphabet and Microsoft report after the close on October 28, Amazon on October 29, with hyperscaler AI capex running near $800 billion a year. Meta's negative free cash flow and 9.40% drop on October 22 was the warning; this week's prints decide whether cloud growth and backlog can pay for the buildout. Here are the consensus numbers, the free-cash-flow table and the two-sided test.
placeholder
Anthropic files for a $2 trillion IPO — the $80.7 billion loss is the decoy, the $450 billion compute bill is the riskAnthropic publicly filed its S-1 on October 26, revealing $16.29 billion of first-half revenue (+1,304% year over year) and a $80.7 billion net loss — of which $72.4 billion is a non-cash convertible-note charge. The real number is the $450 billion of signed, mostly non-cancelable compute commitments. Here is what the filing says, why NVDA, ARM and MU are the tradeable read-through, and the conditions that decide whether the AI trade passes its first public valuation test.
Author  Irene Q.
Oct 27, Tue
Anthropic publicly filed its S-1 on October 26, revealing $16.29 billion of first-half revenue (+1,304% year over year) and a $80.7 billion net loss — of which $72.4 billion is a non-cash convertible-note charge. The real number is the $450 billion of signed, mostly non-cancelable compute commitments. Here is what the filing says, why NVDA, ARM and MU are the tradeable read-through, and the conditions that decide whether the AI trade passes its first public valuation test.
placeholder
Fed October Rate Decision Preview: Rate Hike Pause Has Become Consensus, How Will US Stocks, Dollar, and Gold React?The Federal Reserve will announce its October interest rate decision at 14:00 Eastern Time on October 28, and Fed Chair Warsh will hold a press conference at 14:30. Markets currently wide
Author  TradingKey
Oct 27, Tue
The Federal Reserve will announce its October interest rate decision at 14:00 Eastern Time on October 28, and Fed Chair Warsh will hold a press conference at 14:30. Markets currently wide
placeholder
Brent's $115 front month sits $4.6 above January — the $14 spread to WTI is the supply-risk premiumDecember Brent trades at $115.29 while January is $110.71, a $4.58 backwardation. The December Brent-WTI spread is $14.2, versus a $3-5 normal. That gap, not the headline, is where the Middle East supply risk is priced. Here is what the curve says, why the December contract's expiry on October 30 will mechanically cut the headline by $4.6, and the 108.81 neckline that decides the next move.
Author  Irene Q.
23 hours ago
December Brent trades at $115.29 while January is $110.71, a $4.58 backwardation. The December Brent-WTI spread is $14.2, versus a $3-5 normal. That gap, not the headline, is where the Middle East supply risk is priced. Here is what the curve says, why the December contract's expiry on October 30 will mechanically cut the headline by $4.6, and the 108.81 neckline that decides the next move.
goTop
quote