I think you are willfully missing the point. You cannot compare Dubai's "Safe" to other place's "Safe" because other places view things like woman being raped as "unsafe" and Dubai does not.
Being an Indian construction worker, means being more likely to be killed institutionally. For example by ridiculous hazards at work that any other "Safe" place outlawed decades ago. It could also mean being arrested, harrassed and deported (or arrested and thrown in a hole, I don't know; racist gulag numbers are not exactly officially published) for speaking out of line.
Let's not even touch religion.
You are perfectly correct that Dubai is "Safe" for some definition of "Safe" suitable only for White or Arabian, Muslim or rich Christian Men.
That's exactly the point. I am not including the government in my definition of safety. Rather, the focus is purely on safety from an illegal point of view (murder, rape, robbery, etc.).
This is not a very good way to look at things, because a place without any law and order would be "safe" by these standards. If rape is not illegal, women being raped is allowed. If murder is not illegal, people being stabbed or shot to death would be just the normal way of life.