I read the first (of what was supposed to be a trilogy) in which an A.I. was built on a space station so that they could shut it down it in case it went out of control. Of course, it cannot be contained, and at the end of the first book it has started an attack from one end of the space station (the computer/factory end) against the humans in the other end. I have lost the book and never saw either of the sequels. Do you know the name of the books? It is likely from the 80s or 90s.