The Enterprise arrives at a planet that is a luxury paradise
They think they discover its dark side when they find that the slave caste for the paradise is all robots
The technology is amazing and they don't feel pain, don't have emotions or an inner life
You can use them for anything dangerous or terrible and it's fine
In fact they're progressive because they abolished slavery of people