i think you mis-interpret 'surplus value' when you refer to 'more money' from the corporate employer. When I say surplus value, i really mean equity. Equity in the asset you create when doing work. With the exception of equity payments like shares (which, a lot of tech companies do), most workers do not receive any equity for the work that generates equity value.
By making sure equity is generating returns for you, that is how one prevents oneself from being automated out of a job - a job's value is an equity that is fully captured by the employer, esp. if it's a long term asset like code. You only capture this equity if you work for yourself. It is risky - failure means certain death (or realistically, just go back to being a worker, and you lose your chance to get out of the rat race).
May be a paradigm shift in society can occur to change this situation, but as i can see it, the only way one can be sure of having a retirement is to ensure one has equity that can generate the funds needed. And the only way to do that is to either work for an employer who will give that equity to you (which a lot of tech companies do), or work for yourself.