In 2020, Uber was at a crossroads: The company had made an expensive bet on robot taxis, but the project…