> for anyone that has automated their job in this way...what you should really be doing is scaling it up, and finding other companies who are probably paying employees to do the same thing. Then start your own company that does whatever this task is as a service.
These tasks might not be worth selling as a service, they could be relatively trivial yet very context specific... I suspect this is the case, and that the real issue is with the employers lacking the insight to realise the these tasks _should_ have been automated and have the initiative to do so as soon as possible.
More specifically they probably neglected to employ people between the grunt worker and executive positions that would _have_ the insight to automate these tasks as soon as possible. That's basically corner cutting in terms of employees, in which case perhaps they deserve to be exploited, the funds are correctly being appropriated to the people who realised they needed to be automated.
EDIT: to be clear I don't find it 100% morally acceptable, going behind the employer like this is underhanded of course, but it can be somewhat justified as I outlined above. I suppose the alternative is to explain to the employer how it should be done and do so and hope to gain some kind of promotion or compensation, but that entirely depends on the moral standards of that company.