If you think about a year's worth of rental cost, no matter how much you rent out your apartment for in those short term bursts, you're probably never going to even get close to breaking even. And especially if you're one of those people not in a booming industry, it can really help when you're out of town for a weekend or so to try and defray the cost of living. Because while rent is controlled, nothing else in this city is.
Additionally, how is renting out a "rent controlled" place at market rates not transferring income from the actual landlord, to the lessee, while defeating the "control" at the same time?
The contract that you're referring to doesn't give the renter the ability to then turn around and do whatever they want with the living space for their own financial benefit.
Let's say everyone in San Francisco rents out their apartment for $200 once a month. Now landlords can raise the rent by $200, since people could afford the rent before, but are now making an extra $200 a month. Meanwhile, you, the person that doesn't illegally rent out their apartment, has to compete for apartments with people that can pay more because they break the law.
That's where the angst is coming from.
Naturally the reality is vastly more complicated but I believe that's the basic reasoning behind the "short term rentals drive prices up" line of thought.
Now this is definitely the case for cities like Paris, were the law exists but is not enforced. I don't know of it's true for San Francisco where the price is already high from high paid locals.
Whereas if the person can't profit from it and doesn't need it, they may simply downsize, allowing another renter who does need it to move into the unit and use all the bedrooms, giving a much higher load factor.
Not saying it's necessarily a good idea, but banning short term rentals can help increase the utilization, and thus the availability, of existing housing resources.
Furthermore, a lot of those I know who have an extra room and rent out on AirBnB are usually renting out to people actively trying to move to the city and need a place to stay (1-3 months) until they find a unit to live in. For those AirBnB hosts that keep a lease, almost all of them that I know are renting out on AirBnB for more than 30 days at a time (usually to people trying to move to the city), because its not convenient or cost effective to manage back to back short-term stays when you aren't living in the unit. At the end of the day, those subleasing are usually just absorbing the difference between the rent control they secured originally and market value, which would be absorbed by the landlord anyways the moment the lease was given up. i.e. If Bob rents a rent controlled unit from Alice at $1000 a month and then decides to sublet it at $1500 a month 2 years later to Carol, then Bob is making $500 dollars profit. However if Bob gave up the lease, Alice would rent it out again at $1500 to Carol anyways. Either way, Carol ends up paying $1500 a month.