Star Wars as a franchise has the most harrowing relationship with machine personhood.
From the very first movie, droids are shown to be fully sapient, capable of choices and desires and likes and dislikes, and also regularly, and uncontroversally enslaved. The most we see re: opposition to this is Luke removing the restraining bolt on R2-D2, which is treated largely as a preference rather than a moral stance.
This only gets messier and stranger as the franchise has morphed and changed. The most recent season of The Mandalorian has an entire episode that revolves around old battle droids that have been reprogrammed via tainted oil they ordered at a droid bar. The droids express fear that if they keep attacking people that they'll be replaced, by humans, doing the same jobs.
The whole thing is actually a fascinating little microcosm and yet it is never explored in any length on-screen. It's weird! It's very very weird!
"We don't serve their kind here. Your droids, they'll have to wait outside."





























