"Thus, anyone who wants to corral that kind of entity and make it do their bidding? Yeah, they want slaves." Always comes to mind when I see Elon and friends getting excited about AI robots. Slavery was more about economics than the role-playing.
Slavery was about racism and power and control, not economics. Slavery is bad for the economy! https://www.nber.org/papers/w31758 https://www.noahpinion.blog/p/nations-dont-get-rich-by-plund...
Race might be a decent analogue to the difference between human actors and sentient AI, but I suspect work animals (plow horses, etc) would be a better analogy.