/AI%20(artificial%20intelligence)/Image%20of%20server%20racks%20in%20modern%20server%20room%20data%20center%20by%20Sashkin%20via%20Shutterstock.jpg)
The top-performing stocks in the S&P 500 ($SPX) over the last two years tell an obvious story. Markets have been dominated by AI stocks, but the nature of the companies doing the heavy lifting hasn’t been the same.
First, it was AI enablers like Nvidia (NVDA), Broadcom (AVGO), and Palantir (PLTR) that drove market returns. By 2025, it was another step in the value chain, one dominated by storage and memory players, that generated the most returns. In 2025, for instance, Sandisk (SNDK) was the top-performing S&P stock. The shares returned 559% to investors, closely followed by other storage and memory stocks like Western Digital (WDC) with 282% returns, Micron (MU) with 239% returns, and Seagate Technology (STX) with 219% returns.