Taxi drivers has a licence that is very expensive. Also they hace to approve the tests for professional driving. If they have criminal records they do not approve, neither if they have issues regarding mental health. The taxi license is very expensive, so, they take care of that. Uber...well, it is all illegal.
of course you would believe that government solves all problems