In Azimov's Robot series the society that chose to live with robots gradually destructed itself by just living longer and not having so many children. The other part of humanity that avoided robots flourished (not without suffering). But that all required new planets for settlement (I am looking at you Elon).
Trying not to spoil a 40+ year old story, but Asimov eventually retconned that the flourishing of humanity was driven by a benevolent AI behind the curtain.