That's part of it, but there is also a genuine issue of AirBnB owners running unlicensed hotels that impose negative externalities on the community (e.g. not being checked for bedbugs as frequently as a hotel should, providing a place that wanted criminals can hide out without having their IDs checked, evading taxes...)
It seems like the issue is a massive housing shortage and the solution is to build more housing.