Especially when someone finds a way to automate a solution.
I think Valve described the 'T' employee: know one area very deeply and a broad range of others reasonably well. Seems to be a good approach :)
Maybe another way of looking at what your friend said is to just be specific about your skills/experience when job seeking?
But in our industry, what is been automated away? The only things I can think of are that if you were an expert, you'd be very well placed to leverage that automation.
Happens in soccer a lot - teams with really versatile players will usually get whipped by teams who have specialists in each position. Top teams aim for squads with 2 players for every position, not 2 positions for every player.
Hope that makes sense, it's getting late here :)
"I feel like getting a mysql dba job so my resume will portray me as a mysql DBA one tricky pony because I'm sick of writing Perl backends and Scala CRUD at this instant and don't feel comfortable enough with Clojure for paying work"
vs
"OMG I really am a one trick pony who only knows one thing that being mysql"
Obviously he didn't mean simply knowing one language or framework and no others whatsoever but rather that for contract work companies are looking for people that are highly specialized to come in for a very short period of time.
A Full-Stack Super Ninja Developer is still a good thing to have on payroll but you're going to need some temporary guys that know one part of your stack inside out, especially at scale.