There is another option, sure to be unpopular here: learn a new trade. If you find yourself automated out of a job you can spend your life trying to swim against the inevitable, or learn new skills that still have value.
This cannot happen infinitely. It's a problem with the way we approach the world moving past occupations.
Like, coal miners aren't useful anymore, but just telling the miners to "learn a new trade" is not solving the systemic issue of "if society advances, we should provide more for members of society".