AirBnB rentals are not making it criminal to build supply, local zoning regulations that benefit incumbents at the expense of everyone else are what make it criminal to build supply.
It's a defect at the intersection of capitalism, property ownership, and democracy.