Nvidia and Microsoft race to $4 trillion market cap