This problem is much deeper than just automation and has been spiraling out of control since at least the 1970s. https://thecurrentmoment.files.wordpress.com/2011/08/product...
Years of tax cuts for corporations and the rich combined with the destruction of Unions and workers ability to collectively bargain has created this problem. Start taxing wealth and corporate profits at post-ww2 levels, increase protections for workers. Encourage co-operatives, profit sharing, and other forms of worker control and ownership.