As Uber’s new leader, Khosrowshahi will walk into a situation that would test even the most seasoned CEO.