I figure if/when AI can do the work of humans we'll deal with it through democracy by voting for a system like UBI or like socialism.
That doesn't work now because we don't have AGIs to do the chores but when we do that changes.