I'm not going to argue the point that housing supply is woefully inadequate - you're right about that.
But, at the same time, these city and town governments have an obligation to sustain a reasonable amount of housing for their residents.
AirBNB is of course not itself the issue (though one might argue that their aggressive anti-community lobbying is).
I believe that town administrators have a duty to severely curtail the presence of STR businesses like AirBNB in their towns as one of the several paths to maintaining a healthy community with adequate housing.