Nvidia has been the best performer on Wall Street this year among tech’s megacap companies.