This question already has an answer here:
In my youth (I'd guess about early 90's) I read a book written from the point of view of a young female psychologist who gets an employment offer from an ultra-rich wunderkind. When she arrives at her new employer's island, she learns that he has developed all sorts of automation (self-driving cars, all sorts of robots) controlled by a central computer (based on a vast neuronal network). This computer has a developed a (female) personality and seems to have some problems - therefore "she" has persuaded "her father" (=her owner, the wunderkind) to seek the help of the narrator for "her".
Working with many other experts, they first diagnose the problem as a "computer virus" that takes over more and more processing units of the computer - later even leading to a physical fight between robots belonging to "the computer" vs robots belonging to "the virus" with the humans controlling additional robots on the "computer" side. Later it becomes apparent that "the virus" is actually an improved version of "the computer"; it will take over the processing, but that would kill the "computer" personality.
I seem to remember there was a somewhat happy ending, but how exactly that was has vanished in the mists of my memory, exactly like title and author of the book - does it ring a bell for someone?
UPDATE: Seems I didn't remember the time I read the book that well - I must have read it at the end of the 90's.