Nvidia bypassed Apple and Microsoft, the only other US firms with a market value of more than $3 trillion.