When I read this, story reminds me of Alice Long series (Perilous Waif, Merciful Troubleshooter) by E. William Brown.
It's about future but in this version of future real difference between android with AI and human is how they were born (one of minor differences is that humans usually(but not always) have biological brain, sometimes with a lot of implants and human-level AI's brain is usually heavily protected hardware module, but it's for DRM reasons(!), also, androids are almost always loyal to humanity in general, thanks to a lot of mental programming, but same methods can be applied to humans). Somebody call this 'slavery',others create androids who crave abuse...)