The Nasdaq Composite hit a new all-time high on Tuesday, rising 0.45 percent to extend its year-to-date gain past 17 percent. The Nasdaq 100, tracking the largest tech names, jumped 0.82 percent. The S&P 500, by contrast, closed flat — a divergence that underscores how narrowly the rally is distributed across AI-adjacent megacaps. The rally is powered by a specific narrative: Meta's new AI assistant Muse, which surged the stock 11.4 percent on Monday, has been seized upon as the first credible consumer use case justifying years of multibillion-dollar AI infrastructure spending. Jay Goldberg, senior analyst at Seaport Research Partners, told Al Jazeera that Muse is "just a step in the right direction" but acknowledged it had refocused investor attention on AI profitability after diplomatic progress between Washington and Tehran eased the energy shock overhang. The energy context is extraordinary and largely being waved away. The US war on Iran is approaching its seventh month. Brent crude futures sit at $99.18 a barrel. Oil prices fell 3 percent the day before the Nasdaq record on hopes of renewed diplomacy, after Trump told reporters that US officials held a "very good" meeting with Iranian counterparts at the UN General Assembly — hours after he used the same podium to threaten to "annihilate" Iran. The market is pricing in peace while a war continues. Beneath the headline index, the stock-level composition tells the real story of concentration. Nvidia, the world's most valuable company, gained 0.7 percent. Micron Technology rose 5 percent. Monolithic Power Systems surged 8.1 percent, and Shopify jumped 7.1 percent. These are all companies positioned along the AI compute and infrastructure supply chain. Meta gave back 0.63 percent after Monday's monster move. Apple edged up 0.2 percent. The winners are chip and power companies — the picks-and-shovels layer of the AI buildout. Asian markets followed Wall Street's lead, with Japan's Nikkei 225 up 1.4 percent and South Korea's Kospi rising 0.1 percent in Wednesday morning trading. Hong Kong's Hang Seng fell more than 0.7 percent, a reminder that not all markets are buying the optimism. The divergence between AI-linked indices and broader markets, and between US and non-US markets, signals that this is a sector bet, not a broad economic recovery. The structural question the market is ignoring: what happens when $99 oil meets AI power demand? Data centers are the fastest-growing source of electricity consumption globally. The same energy price shock that is being shrugged off as a geopolitical risk is a direct cost input for every AI workload these companies are scaling. Investors are simultaneously betting on cheap abundant energy for AI and discounting a hot war in the world's most important oil transit zone. The core diagnostic is familiar: capital is flowing toward AI infrastructure companies at prices that assume the technology will generate returns large enough to justify both the investment and the energy cost — during a war that makes that energy cost unpredictable. The beneficiaries are shareholders in a narrow band of tech and chip stocks. The risk is borne by anyone exposed to the energy price consequences of continued conflict, and by the broader market if the AI revenue thesis takes longer than the valuations assume.