Well I dont mind them surrendering. But it should be with a warning. In my current game the map had lots of colors and from turn 250 to 300 it all went purple (YOR).
That was no fun at all. They also didnt surrender to some ally or friendly partner, they all surrendered to the attacker (who was at war with about anyone except me at that point).
Seriously, the losing AI should at least ask me, the player, OR their allies something along those lines:
"We are getting obliterated by faction A, please assist us or we might have to surrender."
a) Of course we help you (declare war on faction A) to help you.
Who cares, get lost.
Or the game should give me a warning.
Or a mission depending on my alignment:
(if benevolent, donate them ships or resource, if pragmatic -> try to benefit from the war, if malevolent -> conquer the weaklings yourself, or place a bomb on the planets to explode after surrender )
Or or or. Just not, whoops, looks like they surrendered and you didnt get a warning (or even a message)