Is it possible that these outpots were built by two different AI, and that one of them was captured?
Even if that were the case, the AI should still not be able to build so close together. Human players cannot build within 3 tiles of any other outpost, regardless of who owns it. The AI should be beholden to the same rules.