Re: thanks for the pointers
Randomly I've just finished re-reading GITS (top acronym or what) in the throne-room. It's a great bit of thoughtful SF though it gets a little too dense at times (like when the Puppeteer is explaining the nature of its "self" to the protagonist Kusanagi - bloody glad that's split over two vignettes). The author had a head teeming with ideas on this subject, but some of them might have been better reserved for "backmatter" rather than shoehorning them all into the narrative, which makes it quite clunky in places when it's trying to be a rollicking action yarn at the same time. (His "Appleseed" series suffers from this a bit too, though less so.)
My favourite aspect of the book is the Fuchikomas: AI-driven vehicles (cross between an exoskeleton and a small tank) that are sort-of-a-hive-mind-and-sort-of-not. They operate independently throughout the day, but all their memories and experiences are pooled and redistributed at day's end. Nevertheless, they're individual enough within a single day to engage in some delightfully "human" conceits (like indulging in petty shoplifting, or inciting a robot rebellion before having its peers point out what a silly idea that would be for practical reasons).
Not seen Automata, but soon may!