Software stocks took a hit as investors fretted over AI's disruptive potential.
Two strong businesses experiencing share price drops are ServiceNow and Okta.
Both are seeing year-over-year sales growth in the double digits.
Wall Street's enthusiasm for artificial intelligence (AI) has cooled in 2026. Now, the market has swung toward concern for AI's downside implications.
One of these is that the technology will obliterate many software companies, and investor fears led to a sell-off in the sector. This has dropped share prices in two excellent businesses for the AI era, ServiceNow (NYSE: NOW) and Okta (NASDAQ: OKTA).
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 »
That has created an opportunity to buy these stocks at a compelling valuation. Here's why it makes sense to invest in these two companies right now.
Image source: Getty Images.
ServiceNow focuses on automating business workflows. Wall Street worries that the company's platform lends itself to AI stepping in to replace it.
The reality is not so straightforward. ServiceNow's software has been using AI to perform workflow automation for some time now. This suggests customers want ServiceNow to handle AI integration and are unlikely to drop it in an effort to use AI on their own.
CEO Bill McDermott reinforced this idea, explaining why the technology is not a threat to his business: "AI doesn't replace enterprise orchestration. It depends on it." In other words, AI can't operate in a vacuum. It needs the coordination and oversight provided by ServiceNow to avoid making harmful business mistakes.
Customers realize this, and it's further validated by the company's performance. It ended 2025 with strong 21% year-over-year revenue growth to $13.3 billion. This helped 2025 net income rise to $1.7 billion compared to $1.4 billion in 2024.
ServiceNow forecast first-quarter subscription revenue to increase 22% year over year $3.7 billion. This indicates no slowdown in its business.
Okta shares dropped after Anthropic released AI security software, raising concerns that artificial intelligence can eventually replace cybersecurity platforms. But what Wall Street isn't considering is that businesses aren't suddenly going to drop essential protections for unproven AI alternatives.
Also, Anthropic's solution is designed to look for vulnerabilities in software, but that doesn't replace Okta's platform, which focuses on validating those who are supposed to have access to a client's IT systems. This keeps out bad actors; Anthropic's security update does not address this area.
Okta is also evolving its platform to differentiate between legitimate AI agents and malicious hackers. This is a key capability in the AI age, where automation is increasingly taking independent action.
The company's performance validates this. In its fiscal third quarter, ended Oct. 31, 2025 revenue rose 12% year over year to $742 million. Net income increased to $43 million versus $16 million in the prior year, illustrating a strengthening bottom line.
With both ServiceNow and Okta shares down, their valuations are at a low point for the past year, as evidenced by their forward price-to-earnings ratios (P/E).

Data by YCharts.
This suggests now is a good time to buy. Both companies are seeing sales growth, positioning their stocks to experience an upswing over the long term after Wall Street's AI fears subside and a more measured perspective emerges.
Before you buy stock in ServiceNow, 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 ServiceNow 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 $445,995!* 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,198,823!*
Now, it’s worth noting Stock Advisor’s total average return is 927% — a market-crushing outperformance compared to 194% 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 February 27, 2026.
Robert Izquierdo has positions in ServiceNow. The Motley Fool has positions in and recommends Okta and ServiceNow. The Motley Fool has a disclosure policy.