If people are thinking this is evil, it's the motivation and the result that matter, not the means through which they achieve their goal.
And if they used ML as a black box, it could act in problematic ways. Maybe the ML figured out that it could charge Black riders more. They didn't look into it and just rolled it out. Things like that can happen when you don't look into stuff.
And I'd say that it's questionably legal. If a store charged you more money because you were using a gift card, I think we'd all agree that the store had unjustly taken value from you. Here, Uber is allegedly charging people with credits a higher amount - essentially stealing gift card value.
I'm not sure "oh, it was just our ML deciding to steal your money," is a great defense. Ok, but what was the ML supposed to do. Well, it was supposed to figure out who we could take more money from for the same product.