If you're old enough to post on the internet, you won't have your career impacted by automation, or at the very, very worst you might lose your co-pilot when you're an old senior CA and have nobody to talk to enroute.
If you want to be extra cautious, don't commit to a career at a cargo airline...they will be the first to be automated.