With those two you're also playing the lottery but there is no baseline.
With a hotel, you're also generally paying when you check-in and can thus refuse a subpar room and argue with a real, mostly-reasonable person.
With those two, you get charged before you even enter the place and any arguments will be with a bot or a call center drone in a third-world country pretending to be one.
Not having a bathroom with a door is an incredibly low baseline. I can only think of a single Airbnb that I’ve stayed in that’s been worse than that
(The key to the Airbnb was missing and the host was inaccessible)
More like "I dare you, regulation will only further increase our moat"
And almost any regulation gives a (relative) advantage to the people who can afford the lawyers and bureaucrats to furnish the documentation to show that they are in compliance.
Which, as I think you're hinting, is largely distinct from anybody's actual health
I'm all in favour of opaque bathroom doors (and none of these stupid vertical slits American have between their public bathroom doors and the walls). But I wouldn't want to pretend it's about hygiene or health.
Going from no regulation to one does carry some of what you suggest, but there are already regulations about tons of things here (fire alarms, exits, building codes, etc) adding one more does not increase the need for lawyers and documentation.