AI Panic Grips Software Stocks: 2 Stocks You Should Buy Anyway

Photo of Rich Duprey
By Rich Duprey Published

Quick Read

  • Cloudflare (NET) fell 26% from November highs. Cloudflare forecasted 2026 sales of $2.79-2.80B versus analyst estimates of $2.74B.

  • Cloudflare secured a $130M five-year contract and a $42.5M annual deal driven by AI demand.

  • Microsoft (MSFT) dropped 12% after Q2 earnings as capital expenditures reached $37.5B for AI infrastructure.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.
AI Panic Grips Software Stocks: 2 Stocks You Should Buy Anyway

© Chris Hondros / Hulton Archive via Getty Images

The software industry has undergone a dramatic reversal, shifting from a must-own sector to one investors are fleeing en masse as fears that artificial intelligence (AI) advancements will disrupt traditional business models. 

Trading volume in the iShares Expanded Tech-Software Sector ETF (CBOE:IGV | CBOE Price Prediction) surged to near-record levels on Friday, with turnover approaching $11 billion, near the record $13.2 billion set on Feb. 6 and almost double the 2021 high of $5.8 billion. This panic selling has led to indiscriminate dumping of stocks — even those with solid fundamentals — as the sector lost over $1 trillion in market value in early February alone. 

During this exodus, durable companies like Cloudflare (NYSE:NET) and Microsoft (NASDAQ:MSFT) are like babies being tossed out with the bathwater. They represent a significant buying opportunity as both are positioned to benefit from AI rather than succumb to it.

Cloudflare (NET)

Cloudflare shares declined 26% from their November highs, aligning with the broader software sector rout. The drop was exacerbated by a major network outage that month that disrupted access to platforms like X and ChatGPT, raising concerns about customer retention and operational reliability. Additionally, the stock faced pressure from stretched valuations, trading at 24 times current-year revenue prior to the selloff, as investors feared AI agents could commoditize edge computing services. Despite these headwinds, Cloudflare is poised to survive and thrive due to its integral role in supporting AI-driven workloads. 

The company’s fourth-quarter results exceeded expectations, with revenue growth fueled by record annual contract values tied to AI demand, including a $130 million five-year deal and a $42.5 million annual contract. Cloudflare forecast 2026 sales between $2.79 billion and $2.80 billion, surpassing analyst estimates of $2.74 billion, driven by the rapid development of AI technologies that increase demand for its cloud services. 

AI acts as a tailwind for Cloudflare by boosting traffic, applications, and security needs rather than disrupting its core infrastructure. The company’s globally distributed edge network provides low-latency, secure inferencing essential for AI agents like Anthropic‘s Claude Code and Cowork, positioning it as a “Tier 1 AI winner.” 

A January report highlighted that organizations modernizing applications with Cloudflare’s tools are three times more likely to achieve AI return on investment, with 93% of leaders citing software updates as key to enhancing AI capabilities. Strategic partnerships with major AI firms and record DDoS mitigation further strengthen its competitive edge. High switching costs and enterprise integrations also provide a moat, while the proliferation of AI agents and IoT devices drives sustained demand for its zero-trust cybersecurity and connectivity solutions. 

As AI re-platforms the internet, Cloudflare’s infrastructure becomes indispensable, supporting long-term revenue stability and customer retention.

Microsoft (MSFT)

Microsoft is down 18% year-to-date, with a sharp 12% drop following its fiscal second-quarter earnings report on Jan. 29. The decline stemmed from investor concerns over escalating capital expenditures, which reached $37.5 billion in the quarter as the company ramps up AI infrastructure investments. Operating margins dipped to 45.1% due to these costs, while Azure cloud growth remained stable at 37% to 38% but faced capacity constraints from AI chip shortages. 

Its heavy reliance on OpenAI — accounting for 45% of Microsoft’s $625 billion remaining performance obligations — amplified the risks of over-dependence on a single partner while broader sector fears of AI disrupting software models contributed to the selloff. Microsoft is also the largest component of the iShares software ETF.

Yet Microsoft’s fundamentals position it to endure and expand in the AI era. Q2 revenue hit $81.3 billion, driven by Intelligent Cloud segment growth from enterprise migrations of legacy SQL and on-premise workloads to Azure. While AI spending pressures near-term margins, these migrations provide a stable revenue foundation, with Azure expected to maintain mid-30% growth. 

The tech giant anticipates $27 billion to $29 billion in annual capital expenditures for data centers and AI chips, but this supports long-term scalability. The early monetization of tools like Copilot indicates the potential for productivity gains, with 2026 seen as an inflection year for AI returns.

Microsoft’s transition to an AI-first entity enhances its cloud dominance, with exploding AI adoption driving demand for secure infrastructure. The stock trades at a premium, but the diverse product lineup offers protection against disruption. As AI integrates across industries, Microsoft’s Azure and partnerships position it for sustained growth, outpacing sector peers in scale and innovation.

Photo of Rich Duprey
About the Author Rich Duprey →

After two decades of patrolling the dark corners of suburbia as a police officer, Rich Duprey hung up his badge and gun to begin writing full time about stocks and investing. For the past 20 years he’s been cruising the markets looking for companies to lock up as long-term holdings in a portfolio while writing extensively on the broad sectors of consumer goods, technology, and industrials. Because his experience isn’t from the typical financial analyst track, Rich is able to break down complex topics into understandable and useful action points for the average investor. His writings have appeared on The Motley Fool, InvestorPlace, Yahoo! Finance, and Money Morning. He has been interviewed for both U.S. and international publications, including MarketWatch, Financial Times, Forbes, Fast Company, and USA Today.

Featured Reads

Our top personal finance-related articles today. Your wallet will thank you later.

Continue Reading

Top Gaining Stocks

CBOE Vol: 1,568,143
PSKY Vol: 12,285,993
STX Vol: 7,378,346
ORCL Vol: 26,317,675
DDOG Vol: 6,247,779

Top Losing Stocks

LKQ
LKQ Vol: 4,367,433
CLX Vol: 13,260,523
SYK Vol: 4,519,455
MHK Vol: 1,859,865
AMGN Vol: 3,818,618