Nvidia Corp. shares rallied after some initial sluggishness Thursday as more than half the analysts who cover the chip maker hiked their price targets following the company’s strong quarter and outlook based upon data-center gains.