60%+ of Americans work in retail once in their lives, where bathroom breaks are almost always monitored. The people working at Walmart, grocery stores, department stores, etc. are absolutely expected to man their shift until their scheduled break, as are many people that work in restaurants, on manufacturing floors, etc.
It's inhumane, yes, but it's not Amazon-specific.