Picking Uber's new chief executive was anything but straightforward, the NYT reports.