Huang, a company co-founder, stepped down after reports of extramarital affairs, including one with a Chinese businesswoman suspected of working as a spy for Beijing.