Some of the minor factions have, and can rebuild, their own capital ships. However if their capital ship gets destroyed, and they are allied with you, then this affects your own empire's capital ship total in the stats screen. Probably shouldn't as they don't get counted in the in-game fleet supply/command crew points