At the end, Jensen Huang looked broken and shattered, his legendary energy depleted. After weeks spent denying the allegations of infidelity and fighting to remain in his job as Nvidia Corp.’s chief executive officer, his surrender late Wednesday night was unconditional. Huang’s usual take-charge demeanor had evaporated, according to a person familiar with the situation, and he’d started using phrases like “whatever” and “I don’t care.” When the news broke in late October that Huang had close ties with a woman suspected of being a Chinese spy, it looked like he would prevail. (File Photo/Reuters)For the decades he spent building Nvidia into a multitrillion-dollar…