Nvidia has led the artificial intelligence boom to become one of the stock market’s biggest companies, as tech giants continue to spend heavily on the company’s chips and data centers needed to train and operate their AI systems.