Happened with me here in India too.
I worked on a project which required generating a report that had to be sent to some senior execs at our client location every Monday morning. The report would essentially give a trend, and the trend would in turn help the execs take a decision on whether further investment in hardware was needed for our existing IT infrastructure.
Originally the process was based on 3-4 people working and generating the report with heavy manual text heavy lifting. When I joined the project it took me 3 weeks of observation and a Perl script to automate the entire report generation process. My manager pulled me up for making 4 people jobless now. And thereby I had denied them billing for four people, I was considered to be making wrong moves for the company. I was given bad ratings for doing so, I lost a lot in terms of cash, and many be a chance to get promoted.
4 people where back doing to heavy lifting job. But six months later our client moved the project to a different outsourcing vendor. His reason 'Inability of the team to automate tasks that could have easily been automatized' and thereby not showing any value to the client apart from day to day work.
That day I learned a very big lesson. Like patio1 says The size of the pie is fixed, the allocations of the pie are controlled by other people, If you don't automate and get productive somebody else almost certainly will.
The purpose of work is to continuously be more and more productive with time. And learn to do work that has a more intellectual demanding than manual labor. I find it strange that people often complain and surprised that they were fired because <insert some manual job> was replaced by some form of automation. Isn't that obvious?
Throughout human history the clock has been ticking, productivity has always increased in a way or the other.
I actually like the what Mihaly Csikszentmihalyi says in his book 'Flow'. Every person when he works in the flow enjoys it to the full, until he squeezes the last bit of fun and excellence left in the job. Now he saturates, every thing becomes repetitive and not longer challenging .He is now prepared for the 'next step'.
Everybody must think of these 'Next steps' no matter what you are doing, where you doing it.