Rental property will always exist. We need to completely ban nightly rentals. If you want to operate a hotel, build and operate a hotel. If a community was built to operate with nightly rentals, like, say, Sun River, OR, then perhaps they can zone appropriately for nightly rentals. Pseudo hotels should not be operating in traditional neighborhoods.
So instead of having a residential building with Airbnbs inside you'll now have a hotel. How does that solve the issue?
If there's X number of people who need an overnight stay in the city and you want to accommodate them - what difference it makes if they stay in residential studios or hotel rooms?