Jensen Huang resigned as chief executive of AI giant Nvidia on Thursday, the company said, after revelations he had two extramarital affairs, including one with a woman accused of spying for China.Chief financial officer Colette Kress will serve as i…