The AI will adapt. If you build only missile ships, the AI will research Point-Defense to Level 30 and laugh at you. You must maintain a balanced fleet or spy on their research labs to see what they are defending against.
Your fleet is useless if it can't refuel, and your empire is doomed if you ignore espionage. space empires v tech tree