Apple briefly overtook Nvidia as the world's most valuable company Friday before the AI chip giant reclaimed its $4.92 trillion market cap by closing bell.