The Star Wars franchise is much more science fantasy than science fiction. Despite being packed with all sorts of futuristic technology, deep space travel, alien societies, sapient robots, and cybernetic enhancement, the films are much more concerned with the more fanciful elements.
There's been a droid or two in the main cast of almost every major work of the Star Wars franchise, across both the heroic and villainous factions. Luke, Anakin, Grievous, Darth Maul, and many more mainstays of the ongoing storyline use cybernetic limbs to replace or enhance their bodies. These elements go largely unmentioned in a way that raises more questions than answers.
This 2003 Star Wars Series Is Essential Viewing Before Obi-Wan Kenobi
The droids who fill the villainous army in the Clone Wars, robotic bounty hunters like IG-88, and friendly machines like service droids are fully sapient and capable of independent thought. Though they are all crafted by the hands of organic beings, they have free will, experience real emotions, and act essentially identical to any other person. C-3PO, the most commonly present droid in the franchise, was created by Anakin when he was a kid. This is a universe in which a ten-year-old slave on a desert planet with little more than discarded scraps can create sapient machinery, and very few people see that as odd. Anakin's work on the protocol droid is comparable in this universe to a winning science fair project. Familiarity breeds disinterest, so of course, people aren't marveling at the technology they see every day, but the franchise never delves into any philosophical aspect of droid intelligence.
Robots and AI are mainstays of science fiction, as are human beings outfitting themselves with cybernetics.
Read more on gamerant.com