Nvidia stock gains have been well behind the wider chip sector as investors watch the shifts in artificial-intelligence hardware.