That's only possible if you as the worker are capturing the efficiencies that the automation provides (i.e. you get RSU's, you have an equity stake in the business as well).
Believe it or not most SWE's and white collar workers in general don't get these perks especially outside the US where most firms have made sure tech workers in general are paid "standard wages" even if they are "good".