I killed the base defenders, but the game can't spawn new ones, citing a limit. It's unlikely these AIs were brought from another base.
It's possible that the AIs' corpses are being counted, and the game is preventing new ones from being spawned until the garbage collector deletes the old ones.