Jensen Huang resigned from his role as CEO of chipmaker Nvidia, less than a week after his extramarital affair with a suspected Chinese spy became widely known.