Apple's market cap closes in on Nvidia for top spot