Introduction
The stock market is undergoing a noticeable shift. While artificial intelligence names have dominated headlines for months, a rotation is underway that favors traditional retail giants. Walmart and Costco have climbed steadily since early October, even as the Nasdaq-100 has pulled back from its highs. At the same time, high-profile AI-related companies are seeing their valuations compressed. This article looks at what is driving the divergence, how the valuations compare, and what it could mean for investors.
What Happened
Since the Nasdaq-100 reached its October 6 peak, the index has fallen roughly 16 percent. Over that same stretch, the State Street Consumer Staples Select Sector SPDR ETF has gained about 13 percent. Walmart shares are up approximately 23 percent, while Costco has advanced around 16 percent.
The move reflects a broader retreat from technology. Investors have cited several pressures on AI-related equities, including a scandal involving Nvidia CEO Jensen Huang, opposition to new data center construction, political scrutiny over semiconductor exports to Asia, and expectations that the Federal Reserve will raise interest rates. As a result, multiples across the AI complex have dropped sharply.
Meanwhile, retail sales excluding automobiles and gasoline rose 5.1 percent in the third quarter on a non-seasonally adjusted basis, according to CNBC reporting. Surveys also show improving consumer confidence, supported by a stronger labor market and moderating inflation.
Why This Matters
Valuation gaps have become difficult to ignore. Walmart trades at about 41 times estimated 2027 earnings per share and 37 times 2028 forecasts. Costco commands roughly 46 times 2027 estimates and 42 times 2028 forecasts. Those levels are more typical of high-growth technology companies than traditional retailers.
By contrast, SpaceX is valued at approximately 30 times 2027 EPS estimates and 14 times 2028 estimates. The lower multiple reflects heavy capital spending and uncertainty around profitability. SpaceX is investing hundreds of billions in projects such as terrestrial and orbital data centers, a wireless network, and an ambitious launch schedule, with a potential Tesla merger also in the mix. The company has not yet reached positive free cash flow.
Other technology names are trading at even steeper discounts. Dell Technologies and Hewlett Packard Enterprise sit at roughly 7 to 9 times 2027 earnings estimates. Broadcom is near 14 times, while Micron Technology trades around 3.2 times. Analysts caution that current earnings estimates for some AI companies may still be too optimistic, and further cuts could be coming. Anthropic's shares have also dipped below their $83 IPO price, a development that could weigh on sentiment for other AI companies preparing to go public, including OpenAI.
Key Takeaways
- Walmart and Costco have outperformed the Nasdaq-100 since early October as investors move into consumer staples.
- Retail valuations are now priced like technology growth stocks, with Walmart and Costco trading at elevated earnings multiples.
- SpaceX and several AI hardware names trade at much lower multiples, reflecting skepticism about future earnings and heavy capital spending.
- Nvidia-related financing for AI infrastructure firms such as CoreWeave may tighten, adding pressure to the chip sector.
- PEG ratios for many chip and hardware stocks are below 0.5, while Walmart and Costco exceed 4.0.
- The defensive appeal of staples could fade quickly if technology stocks regain momentum.
Conclusion
The market's recent rotation into Walmart and Costco highlights how quickly sentiment can shift when growth stories face headwinds. Retailers are benefiting from steady consumer spending and a flight to perceived safety, while AI-linked companies contend with margin pressure, regulatory scrutiny, and expensive buildouts.
However, low valuations do not automatically signal a buying opportunity, and high multiples do not guarantee a decline. If the technology sector stabilizes, the current leadership in staples could reverse just as fast as it emerged. Investors should weigh valuation, earnings durability, and macroeconomic trends before chasing either side of the trade.

Discussion
Join the conversation
Thoughtful reactions, questions, and follow-up ideas help shape the next story.