The employer knows full well that they can pay workers on a visa for less and they have them on a metaphorical leash (in the UK it was 5 years before they could apply for permanent residency).
I've seen this happen personally, I've seen an English engineering manager keep the Indian employees behind by telling them they couldn't leave and he wouldn't have dared said the same thing to me and didn't.
One of the Indians (who I think lived in the UK for a while) said to me in the morning after the incident while we were grabbing a morning coffee "You can see now why the British had India for so long", I took that to mean that he thought that Indians are more placid. I have no idea if that is the case generally, but he certainly thought so.