Not all SF landlords are opposed to their tenants rerenting the units on AirBNB. Some even deliberately rent for minimums of 30 days, to avoid running into zoning regulations against short term stays. AirBNB promised to start collecting hotel taxes in SF, but such taxes wouldn't apply in this case either.
Otherwise, you cant- and the tenant takes over the defacto 'lease' from you.
Costa Hawkins (which I believe you are referring to) is a landlord/owner option. You as a tenant cannot initiate it and would be shit out of luck. You might be able to get your landlord to initiate the lawsuit for you, but I doubt they want to come out of pocket on legal expenses on your behalf.
Are the rent terms fixed at the time they occupy? If not, one assumes that the landlord could just up the price repeatedly to force them out.
http://harknesslabs.com/post/32179239260/gaming-airbnb-in-sa...
The gist of it, is that San Francisco and California's rental and rent control laws will supersede any private contract you can write. No way around it. If there was a way around it, you can bet that landlords would simply be including clauses in all new leases they say "rent control not valid here".
What I wrote in the above article amazingly still stands today. You can even find a 1bedroom in Nob Hill for a affordable 2200 a month! https://www.airbnb.com/rooms/1605304?
There is so much education AirBnB should be doing for their hosts in CA and SF especially.
Did you know that if someone rents a airbnb listing in SF for more than 30 days, they can stay there forever, so long as they keep paying rent? Yeah, no mention of that when you create a new listing on the site.