Earlier quoted context omitted.
AirBnB plays a very minor role in this. Yes, they make short-term rentals possible for landlords who are too dumb and lazy to be able to do it otherwise. There were other simliar platforms before AirBnB, there will be others after them.
That's why the original post says "like Airbnb", and laws like those in NYC ban all of them.
Good on NYC to ban short term rentals of residential properties. Short term visitors should stay in buildings especially made for that purpose, such as hotels.