Oracle just had its roughest week on Wall Street in a quarter century. The software giant's stock fell 19% over the week, its steepest weekly decline since a 20% plunge in August 2001, according to Jordan Novet of CNBC. That earlier drop came during the collapse of the dot-com bubble — making this the company's worst week in 25 years.

The sell-off was driven by mounting unease over two intertwined issues: Oracle's heavy debt and its aggressive bets on artificial intelligence. According to CNBC, the company is carrying a roughly $130 billion debt pile, and its spending has been surging. CNBC also points to negative free cash flow — meaning the company is currently paying out more cash than its operations bring in — as a factor weighing on the shares.

Oracle has been positioning itself as a major player in the AI boom, racing to build out the computing infrastructure that AI systems require. But that expansion costs money, and investors appear increasingly worried about how the company is financing it. As Techmeme summarized the CNBC reporting, the drop came "amid concerns about its debt load and AI investments."

The episode is a reminder that even the biggest technology names are not immune to skepticism about the AI gold rush. For much of the recent market cycle, AI-related spending has been rewarded by investors. Oracle's tumble suggests that enthusiasm has limits — and that Wall Street is starting to scrutinize whether the enormous sums being poured into AI infrastructure will pay off, and how companies plan to fund them.

Why it matters: When a company the size of Oracle loses nearly a fifth of its value in a single week over AI financing fears, it signals that investor patience with debt-fueled AI spending may be wearing thin across the tech sector.