I think the more likely here is that Uber sold self-driving group (alongside other "big bets" like flying taxi research group) because of existential threat to the business during the start of COVID-19 which made them focusing on the main business (+eats) and sell parts that have no profitability in sight.
That's exactly right. Uber self driving was burning through the tune of billions of dollars a year when covid reduced revenue by the tune of 70%. Not exactly sustainable w/ only a few billion dollars of cash on hand.
As terrible as a pedestrian death is, the reality is there's news about Tesla accidents and near-accidents on the news all the time and people still love the brand. Sometimes it's easy to forget that Uber/Amazon/M$/etc hating is not as widespread in the general population as it is among tech bros.
As for Otto, my understanding is Uber pivoted similarly on the freight side, with a partnership w/ Volvo Autonomous Solutions.