Now sci-fi in general has always had artificial life as a standard trope, with all the moral issues that come with it. From Asimov's three laws (which, amusingly, aren't a thing in the SW universe!) to Blade Runner, and modern films like 'AI', 'I, Robot', 'Chappie', 'Wall-E' and 'Deus Machina'. Mass Effect made it a core of their game, and the moral issues that swirled about it between the Reapers and the Geth.
I'm never really sure why SW shied away from what seems an obvious sci-fi trope (but then the movies aren't really about difficult choices and mostly keep things simple). ...
Yes, it is a sci-fi trope! Robots and androids are living, thinking beings and that is that. Though the reason Star Wars does not touch upon it is because this is Science Fantasy and it is not a focus point in the stories. In Science Fantasy and many Space Operas, aliens just play the roles as exotic cultures, like elves or dwarves would in classic High Fantasy. In Battlestar Galactica, AI is an actual theme and it becomes a focus in Star Trek too, with Data and his character exploration.
In Star Wars, droids are just another supressed species that few care about or that has a very defined role. Most are servants, mascots or pets, but then you have those who break free and do their own thing, like 4-LOM.
But Star Wars isn`t that deep, really, it has a dark/light good/evil reality where the Good guys can have a constructed army of clone troopers that all basically are slaves from birth. Star Wars is what it is and we can`t overthink it....
Unless... Star Wars has grown so much and isn`t just one or a few mixed genres anymore. It is a huge thing that belongs to all of us and can be anything we want it to be. Star Wars isn`t just what writers and creators make it anymore, it is what all of us, the fans make it. The Galaxy is enormous in so many ways.
