The solution is to disallow corporations to own all means of automation. Which they shouldn't, anyway, since ultimately everyone contributed to make those technologies in the first place.
What should be happening is a renaissance of ideas, science, invention etc, due to many hours of hobby time. Instead, the benefits of automation were stolen from us all and given to oligarchs, and we currently live in ever declining conditions because of this theft.
As the means of production become packaged as ever more accessible products - look at how far 3D printing has come along for example - I envisage a future where everybody owns the means of production due to the cost reductions brought about through automation. I also have no doubt that within 100 years people's homes will have printers which more closely resemble the replicators used in the Star Trek series'.
The question then will not be who owns the means of production but who has access to the blueprints.