Nvidia CEO Jensen Huang has resigned following an espionage scandal involving alleged illegal chip exports to China through a Singaporean intermediary.