Within the worlds of this kind of fiction, the anti-robot racism is absurd and laughable.
It can be verified how complex the computation and awareness is on the robots in question, because they were designed and manufactured and the data is there in the first place. If they display consciousness, we have nobody to blame but ourselves when they start asserting themselves.
And it all seems to rely on assumptions about modern, real world technology, that shouldn't even be present in a fiction where sentient robots are possible. Yes, our computers and electronics are nowhere near the complexity of intelligent consciousness, and treating your real world gadgets like human beings is absurd.
But this trope is pointless anyway. There is no commercial incentive in developing and manufacturing AI that is actually equal or superior to human consciousness.
Unless we globally regressed thousands of years as a society while somehow not losing any scientific and industrial progress, where human trafficking , and by extension artificial "human" trafficking, is legal and commercially viable, development and manufacture of actual artificial consciousness won't be economically viable.