It's not really the same thing. Most workers at SpaceX would be highly trained, probably hold security clearances, and are highly sought after.
Amazon employs a ton of people at minimum wage that don't really have many other options. Making them pee in bottles because they don't have time for a break. This is exactly the kind of employee that needs these protections.