If I Had $5,000 to Invest in Artificial Intelligence (AI) Right Now, I'd Buy These 2 Stocks Before They Rebound

Source Motley_fool

Key Points

  • Microsoft is set to spend over $100 billion on capital expenditures in 2026, with much going to artificial intelligence (AI) infrastructure.

  • Microsoft provides long-term high-growth opportunities and overall stability.

  • CrowdStrike has a data advantage that no newcomers in the space can compete with.

  • 10 stocks we like better than Microsoft ›

After dominating stock and business discussions over the past few years, artificial intelligence (AI) stocks are still getting a lot of attention -- but for the wrong reasons. Through the first quarter of this year, many big-name AI stocks (and tech stocks in general) have started off on the decline.

Some investors are chalking up the sluggish start to an AI bubble "correcting" itself, while others think it means investors are seeking safer investments amid increasing uncertainty in the broader economy.

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 »

In either case, a handful of AI stocks look a lot more appealing after their recent declines. And although there's no guarantee they bounce back in the near future, they're great long-term investments worth getting into before what I'd consider a close-to-inevitable rebound.

CrowdStrike and Microsoft's logo overlaid on shadowy background.

Image source: The Motley Fool.

1. Microsoft

None of the "Magnificent Seven" stocks has had it as bad as Microsoft (NASDAQ: MSFT). Its stock is down over 21% as of April 6, reducing its market cap to around $2.7 trillion. You can argue that Microsoft's valuation was high pre-drop, but this has been one of the roughest stretches the company has faced in quite a while.

Some investors haven't agreed with Microsoft's AI spending plans and potential slowdown in Azure growth (hence the stock decline), but Microsoft still remains one of the most thorough businesses in the world -- regardless of sector.

Whether it's enterprise software, operating systems, cloud computing, gaming, or hardware, Microsoft has its hands in many industries across the tech world, and thousands of businesses rely on it for their own daily operations. That alone makes it one of the more appealing long-term stocks investors can hold. You get the tech growth opportunities while also getting the long-term stability that you generally see with more "boring" blue chip stocks.

In its latest quarter (ended Dec. 31), Microsoft put up another impressive financial performance. Its revenue increased by 17% to $81.3 billion, its operating income (profit from core operations) increased by 21% to $38.3 billion, and its diluted earnings per share (EPS) increased 60% to $5.16.

Microsoft is planning to spend over $100 billion in capital expenditures this year -- with most of it going toward AI infrastructure -- but that's light work for a company consistently bringing in as much as Microsoft. It's playing the long game, and its stock looks much more attractive, with a price-to-earnings (P/E) ratio of around 23.3.

MSFT PE Ratio Chart

MSFT PE Ratio data by YCharts

2. CrowdStrike

Like a handful of other software companies, CrowdStrike's (NASDAQ: CRWD) recent stock struggles can be traced back to new tools introduced by Anthropic, the owner of the popular tool Claude. Anthropic recently launched Claude Code Security, a cybersecurity tool that some fear could disrupt CrowdStrike's business.

The February announcement led to CrowdStrike's stock declining by over 17% from Feb. 19 to Feb. 23. It's now down around 12% year to date through April 6.

CrowdStrike is one of the pioneers of AI-native cybersecurity solutions, with its Falcon platform having been released in June 2013. The amount of data CrowdStrike has been able to collect and use to train and refine its AI models is one of its biggest competitive advantages.

That's not something a competitor can easily replicate; it takes years and trillions of data points collected. CrowdStrike has used this to create industry-leading solutions that many noteworthy companies rely on, including 300 of the Fortune 500.

There may be AI tools that work perfectly well for the average user, but many won't be nearly as comprehensive as what corporations need. It's not easy for large corporations to switch cybersecurity providers because of how ingrained many of them are in their daily operations and the logistics involved.

That doesn't make CrowdStrike's business disrupt-proof, but it surely helps with its sustainability, and why I think it's a great long-term option. The stock is currently trading at around 21.4 times its projected sales over the next 12 months. That's not cheap by most standards, but it's well below its average over the past few years.

Should you buy stock in Microsoft right now?

Before you buy stock in Microsoft, 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 Microsoft 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 $536,003!* 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,116,248!*

Now, it’s worth noting Stock Advisor’s total average return is 946% — a market-crushing outperformance compared to 190% 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 April 9, 2026.

Stefon Walters has positions in CrowdStrike and Microsoft. The Motley Fool has positions in and recommends CrowdStrike and Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Iran says it will only allow 12 ships per day to pass through the Strait of HormuzIran is telling ships that under terms passed through mediators, it plans to let only about 12 ships cross the Strait of Hormuz each day during the two week ceasefire agreed with Trump. Pakistani mediators said ships must coordinate with the Islamic Revolutionary Guard Corps, or IRGC, before they pass. Cryptopolitan had earlier reported that […]
Author  Cryptopolitan
20 hours ago
Iran is telling ships that under terms passed through mediators, it plans to let only about 12 ships cross the Strait of Hormuz each day during the two week ceasefire agreed with Trump. Pakistani mediators said ships must coordinate with the Islamic Revolutionary Guard Corps, or IRGC, before they pass. Cryptopolitan had earlier reported that […]
placeholder
XRP becomes quantum-resistant powerhouse while whales go on a buying spreeXRP keeps quantum risk very low, with only 0.03% of supply exposed, and most accounts are still protected.
Author  Cryptopolitan
20 hours ago
XRP keeps quantum risk very low, with only 0.03% of supply exposed, and most accounts are still protected.
placeholder
Aave Breakdown Deepens With Supply Flooding Back To Binance. Learn What Triggered The RushAave is under selling pressure. The market is pricing risk. And according to top analyst Darkfost, what is happening to AAVE right now is not a market problem — it is a protocol problem. Related
Author  NewsBTC
20 hours ago
Aave is under selling pressure. The market is pricing risk. And according to top analyst Darkfost, what is happening to AAVE right now is not a market problem — it is a protocol problem. Related
placeholder
XRP Battle Zones Have Been Drawn: The Move To $31 That Could Change EverythingCrypto analyst Egrag Crypto has outlined three key targets for XRP, including $31, signaling that the altcoin could reach double digits at some point. This comes as XRP eyes a parabolic surge to the
Author  NewsBTC
20 hours ago
Crypto analyst Egrag Crypto has outlined three key targets for XRP, including $31, signaling that the altcoin could reach double digits at some point. This comes as XRP eyes a parabolic surge to the
placeholder
Solana Breakdown Risk Builds As $94 Supply Zone Crushes MomentumSolana (SOL) is flashing warning signs after a sharp rejection at the $92–$94 supply zone halted its recent upside attempt. Momentum has quickly faded, with price now slipping back toward key
Author  NewsBTC
20 hours ago
Solana (SOL) is flashing warning signs after a sharp rejection at the $92–$94 supply zone halted its recent upside attempt. Momentum has quickly faded, with price now slipping back toward key
goTop
quote