Nvidia’s earnings lifted technology shares and steadied broader markets, even as investors weigh how long the AI investment cycle can run.