This is was done for quite awhile for Amazon.
Some of that history here it would seem:
https://en.wikipedia.org/wiki/Sales_taxes_in_the_United_Stat...
Uber on the other hand is losing money because they are actively competing. They cannot be in business without losing that money, that's where it's scary