I work in Finance/Investment Industry and was "let go" from one of the companies I worked at because I automated a large portion of my job (among other things). I even wrote an instruction manual for the entire process (not knowing that I could/would be let go). They ended up replacing me with a guy who didn't know how to program, but had 20 years of experience. Live and learn.