> I hardly see any discussion anywhere of what happens when 100% of useful labor is automated to the point that humans have 0 comparative advantage compared to AI+robots in anything of economic value.

Eventually automated gas chambers, or just letting poverty take care of the problem my itself.