Selling medallions, etc. gets the city in which the drivers do business some revenue to pay for the services the city must provide to support the business. Taxes help fund roads, police, administration, etc.
The "situation" is more complex than you describe and the unintended consequences of Uber are nowhere in the discussion.
I'm surprised that Uber hasn't put forth licensing a version of their infrastructure for use by black/yellow cabs for dispatch. They can provide access to customers along with a pretty seamless payment process.
The primary intent of medallions is not to raise funds for infrastructure. Their goal is to keep people out of the business. You can tell by the fact that they're regressive: they burden lower-income persons more than higher-income thereby preventing new competition from low-skilled workers and guaranteeing safety to the incumbents.
A regressive policy has nothing to do with the goal of the medallions. They cost what market forces will support. The goal of high-end watches is to keep poor people from knowing what time it is.
The medallions aren't for infrastructure. I'd argue the medallions are supported by both the city and existing cabbies because of congestion and quality management issues. It's a way to ensure minimal levels of service and to punish bad (well, abhorrent) service.
The tax on fares is for infrastructure and administration. In NYC, $.50/trip is imposed. What's Uber paying?
I guess Uber couldn't know when it was dealing with a NYC fare subject to the tax... Oh, wait they couldn't offer that since it would imply they were a taxi service subject to other regs... So, they have to flaunt all the laws and put themselves in a legal bind that isn't all "just obvious barriers to entry."
Uber is doing what it can disrupt the status quo, the laws are ambiguous enough that they can get away with it. Admirable in my opinion.
They have: http://blog.uber.com/UberTAXI
And of course this is true for every country affected.
edit: reading again - yeah it's a pretty black and white statement and the truth is always grey-er, but I'm an American who has absolutely no faith in most of our govt anymore so it hits home.
Technology has succeeded where the government has failed.
I think perhaps both are true, though one only accidentally so. Taxi drivers' see themselves as protesting for stronger enforcement of the regulations. I suspect a large portion of the public, though, will recognize the protests as a sort of performance art designed to illustrate that the regulations are problematic and could perhaps stand to be revised.
Taxi drivers are not protesting against the regulation. In fact, in most places taxi drivers and their unions are strong supporters of the said regulations and have worked for decades to get it in place. It's a typical situation where a bunch of "insiders" have striven for years to keep "outsiders" away with the goal of reducing competition.
Another typical aspect to this situation is how technology upends a structure put in place by legalistic means.