While some cities will probably revise occupancy and hospitality regulations to accommodate things like Airbnb, the tension between renters and landlords w/r/t/ sublettors is quite old and quite well explored by the courts (check out your local tenants union for chapter-and-verse citations). The lease provisions that forbid Airbnb will stand up in court.
That is really a very simplistic view of the real world of real estate. For example, in 1983 when I bought a Houston house, I read every scrap of paper involved in the transaction. (Title company closers call us "readers.") The faded Nth generation copy of the deed restrictions ("an agreement between two private individuals") had horrific language about not allowing those of other than the white race to live in the property (unless in servants quarters). By that time, that language had been neutralized by the Supreme Court, but there was a good period of time where it had legal force but had to be ignored by those of good conscience. George W. Bush got the one news cycle treatment about that as the same language was in the deed restrictions he signed, as well as in many subdivisions from that era. That language carries on in the record forever.
The distinction between the two is very relevant vis-a-vis your response to 'tptacek. The terms of a lease contract are freely bargained-for between buyer and seller in the present day. Because contracts cannot bind non-parties, they will only contain provisions that at least one party considers meaningful. However, a covenant is not freely bargained-for between buyer and seller in the present day. Both the buyer and seller may be bound by provisions that both believe to be antiquated (like covenants not to sell to particular minority groups).
If you think a contractual term is antiquated, you're free to bargain with the seller to have it eliminated. With a covenant provision, however, both you and the seller might be stuck with what someone wrote-in decades ago.
So my point isn't that the black letter language of any contract must in all cases stand up in court. My point is that the restrictions in leases that block Airbnb will stand up, because despite the relative novelty of Airbnb, the lease restrictions they butt up against aren't obscure. They are central to the tensions between renters and landlords and thus well-tested.
Also: if someone puts a contract in front of you that requires you to discriminate against African Americans: no, I don't think you can ethically sign it.
Again, you make a simplistic statement that ignores the real world. When social systems are realigning, there is a period when you ignore the plain terms of the contract because you know people aren't enforcing it anymore. Whether that is happening with AirBnB or not is not my point. My point is that it is really easy to make a blanket statement about being ethical in contract law. The chance of that statement actually being the "ethical" choice in all cases is, effectively, zero. The real world is much too complicated to reduce it to the logical exactitude you are claiming.
Sorry, but the Internet has not in fact rewritten every rule that is somehow inconvenient to people on the Internet.
Landlord has been using the same faded form contract for a decade; doesn't even know for sure which provisions are in it, or still legal under recent legislation or court decisions. (But, a standard 'severability' clause protects them when they've got illegal and unenforceable terms inside their template.)
Renter skims contract, but doesn't consider its terms negotiable, practically speaking. They often ignore the precise terms regarding notices, houseguests for more than X days, small pets, drugs on the premises, new roommates, sublettors, etc. In many cases the local law, or tenants' legal support groups, will defend them for violations of such terms - because the signed lease was illegal or unreasonable.
During the course of the lease, both the landlord and the renter may deviate from the exact terms from time to time, by tacit agreement, or occasionally verbal agreement (even if the contract stipulates "no verbal amendments").
Many renter violations are essentially in the realm of "don't ask, don't tell". The landlord doesn't really care and also doesn't want to know, because knowing would force conscious acknowledgement, perhaps encouraging further violations or incurring liability. Only if there's actual property damage or risk of harm/liability (or other adversarialism has begun from other factors) does the landlord become interested in monitoring and enforcing every clause.
Into this mix comes AirBnB. Many landlords won't notice the activity. Or they'll suspect it but don't want to pry. Or they'll know, but don't want to be known to "know".
Yet they may notice the rental rates the market will bear go up, benefiting them for looking-the-other-way. They may notice the renter's treatment of the property improving – as they now share an extra interest in its appeal. Compared to an empty room/apartment, the presence of good guests can make the property and neighborhood a safer and more pleasant place. So landlords can benefit implicitly even without an explicit renegotiation of terms.
In fact, they may prefer this sort of indirect benefit – because they retain the optionality of enforcing the terms, if things go poorly, without the risk of formally approving the activity.
Real economic and social relationships are way more complicated than, "the letter of the rules is X so everyone is duty-bound to do no more nor less than X".
Thus there's the idea of "efficient breach" - where the right thing to do might be to break the terms and compensate the counterparties, leaving everyone better off:
http://en.wikipedia.org/wiki/Efficient_breach
There are many tiny breaches of leases and other contracts that leave society better off: looking the other way if a small pet or temporary houseguest arrives, or there's an occasional bit of "medicine smoking" on the premises, or some unapproved property improvements. It's tough to work up moral outrage if there's no evidence of actual harm, just technical violations. Compare malum prohibitum vs. malum in se:
http://en.wikipedia.org/wiki/Malum_prohibitum
http://en.wikipedia.org/wiki/Malum_in_se