Uber falls under the jurisdiction of a gigantic State apparatus with both a vested interest in and the ability to use violence to enforce it’s will on you. Being a good corporate citizen, Uber would dutifully hand over your data to said government when asked. This is a distinction without a difference.
Note that I don’t think they do this out of the goodness of the hearts or altruism, but rather that they’ve done the calculus and determined that giving this data to the government would cost them enough ill will and loss of revenue to make it not worthwhile. Uber, unlike a government, has to answer to the market, and thus its every consumer’s duty to punish those who would sell our liberties.
And even when they are threatened with (and now ultimately face) a shutdown that will cost them downtime in presumably a very profitable market.
And at the same time, the government is doing bad things with your data.
If they made a habit of doing that without a serious trail of justification under the law capital flight would be historic - damaging their income and GDP/the source of economic power, and damaging stability. It isn't even anything overtly sinister - just sensing that given the peril it is time to get the hell out of there.
And that is without lobbying and soft power aren't available.
By your logic, it would be more reasonable to require that Google be barred from all data sent over email, but require that copies get sent to the NSA. Similarly, AT&T should be required to not collect any phone records, but also be mandated to provide a copy of every single call to the FBI.