As a German who's currently in Dubai, I find it amusing when an American judges the UAE.
The US has tons of undocumented/illegal immigrants which live in horrible conditions, but companies still employ them because they're cheap. How's that not modern slavery? How about all the H1B abuses?
In the UAE some companies may abuse the situation of foreign workers too, but the government clearly says you should not hand out your passport.
My American coworkers get taxed on their worldwide income, which basically only one other country does. Dictatorship?
The US started killed so many innocent people in the Middle East to get their hands on the oil.