That would have fixed much of this, it's point blank illegal to run a bed and breakfast out of your home. Now if you're my buddy, and you want to slide me $200 to crash at my house for a week that's fine, but if you add technology to it, it ends up destroying entire neighborhoods.
Ride-sharing is a bit different, since I'd argue the reduction in drunk driving deaths more than outweigh any negative side effects. It's amazingly easy to just call an Uber when you've had one too many. Countless lives have been saved already.