Nvidia reinstated Jensen Huang as the company’s CEO on Monday, saying its decision was based on “input from senior levels of the United States government,” a shocking reversal after the board ousted Huang over allegations of multiple extramarital affairs, including with a suspected Chinese spy.