For a brief moment on Friday, the most valuable publicly traded company in the United States was not the chipmaker powering the artificial-intelligence boom — it was Apple.

The iPhone maker briefly overtook Nvidia to claim the top spot on Wall Street, according to a report carried by MSN. As one headline from GuruFocus, surfaced via Google News, put it plainly: "Apple Overtakes Nvidia as Most Valuable Company."

The lead didn't last. Nvidia "narrowly" held onto the crown, according to the MSN report, meaning Apple's stint at the summit was fleeting rather than a lasting change at the top of the market.

The back-and-forth underscores just how tight the race has become between two very different giants. Nvidia has surged on demand for the chips that train and run AI systems, while Apple's value rests on its vast base of consumer devices and services. That the two can trade the No. 1 position within a single trading session shows how closely matched they now are.

The available reporting does not specify the exact market values involved or the margin by which Nvidia retained its lead, so those figures remain unstated here.

Why it matters: the top of the U.S. stock market is a rough barometer of where investors think the economy's biggest bets lie, and a chipmaker and a device maker swapping the crown signals just how much money is riding on the outcome of the AI race.