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
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.