The technology sector has been the primary engine of the S&P 500’s gains this year, with the so-called 'Magnificent Seven' stocks accounting for roughly half of the index’s return. But as valuations climb, a critical debate has emerged: Are we witnessing a structural repricing driven by genuine AI productivity gains, or is this speculative froth reminiscent of the late 1990s?

To answer this, we need to disaggregate the earnings picture. Revenue growth among the largest tech firms is robust—Microsoft, Alphabet, Amazon, and NVIDIA posted aggregate revenue growth of 14% year-over-year in the most recent quarter. However, profit margins are expanding even faster, thanks to cost discipline and operating leverage. Free cash flow generation remains strong, with the group collectively generating over $80 billion in FCF in Q1 alone.

The bull case rests on the idea that AI represents a step-change in productivity. Cloud service providers are seeing accelerated adoption of AI workloads, which carry higher margins than traditional cloud services. For example, Microsoft’s Azure AI Services revenue doubled year-over-year, and the company expects this growth to persist for several quarters. Similarly, NVIDIA’s data center segment is growing at triple-digit rates, driven by GPU demand for training and inference.

Yet, valuation metrics are stretched by historical standards. The average forward P/E for the Magnificent Seven is now 32x, compared to the S&P 500’s 21x. Even adjusting for higher growth rates, the PEG ratio (P/E divided by earnings growth) sits near 1.8x, above the 1.5x threshold that often signals overvaluation. Moreover, the breadth of the market is narrow; outside of the largest names, the average tech stock is trading at just 18x earnings, suggesting a bifurcated market.

Another concern is the surge in capital expenditure. The top five tech companies plan to spend over $200 billion in capex this year, much of it on AI infrastructure. If AI returns fail to materialize as quickly as expected, these investments could depress returns on invested capital. Regulatory risks also loom, particularly in Europe and the US, where antitrust scrutiny of AI partnerships is intensifying.

For long-term investors, the key is to distinguish between companies with durable competitive advantages and those riding hype. Microsoft’s moat in enterprise software and cloud, Alphabet’s dominance in online advertising and search, and NVIDIA’s leadership in GPU design all provide some cushion. But for names with lesser fundamentals—such as certain clean-energy tech or quantum computing plays—the risk of reversion is high.

We recommend a barbell strategy: maintain core positions in high-quality tech leaders while trimming overexposed names. Use the proceeds to add to undervalued segments like semiconductor equipment and cybersecurity, where valuations are more reasonable and AI tailwinds persist. Above all, avoid the temptation to extrapolate recent growth linearly; cycles turn faster than investors anticipate.