Given that so much of NYC is apartment buildings, where your safety, property values, and overall well-being is more intimately entwined with your neighbors' than in a traditional suburban neighborhood, people take the community of a building very seriously. There is no way that having strangers randomly inhabiting that building can improve the community.
BTW, if the law were revoked, or restructured in such a way that it wasn't technically legal, and then building boards in NYC could make it against the building rules to AirBnB apartments in that building, would that satisfy your objection?
Because I'd be fine with that, and i guarantee that 95% of buildings in NYC would have that rule within days.
My objection stems from the fact that people sharing their own apartment with strangers is a scenario where two or more consenting adults agree on a peaceful transaction. Making it illegal then treats that peaceful action as something hostile.
If the law were revoked or restructured, as you mentioned, and the owner of the building (maybe what you meant by building boards) made it against building rules, then that would certainly satisfy my objection. The owners most definitely have the right to do with their property as they see fit.
I'm kind of +1 on this.