I don’t think you can claim definitively that that is why Uber lost. Uber lost in other markets too, like in Southeast Asia.
I don’t think anyone can win this argument with you since you can always claim that the Chinese government favors local companies, so therefore ____ lost.
But at least I can give some counterpoints: Tesla hasn’t lost in China.
I've lived in China and have used Didi.