Repetitive and easily managed process are ripe for replacement, just ask telephone operators, and higher paid positions are reduced in favor of less costly staff trained in specific functions, just as MD's about NPs and Nurse Anesthetists. As machines get better at collecting, analyzing and recognizing patterns people who do that will be replaced by machines, just as the spreadsheet replaced begins of low level accountants crunching numbers by hand. The ability to use that information for decisions making will mean higher level cognitive skills will still be in demand, as will the ability to recognize and react in unforeseen circumstances. Flying FedEx drones from a room in Memphis is a great idea, but what happens when you lose the radio link or your instrument data goes haywire and you need to figure to what is going on; while controlling a hundred other plans as well? Planes already have gone to 2 person crews since automation has eliminated the need for the flight engineer and many planes can pretty much fly from takeoff to touchdown without a pilot's intervention but the pilots are there not for the routine but for the unexpected. It's the ability to apply a solution in an unforeseen situation or green insights that will continue to be valuable; sure a machine can predict the success of a lawsuit, or the probability of a winning hand, but a good lawyer, like a good poker player, can find a way to turn a loser into a winner and that's what people pay for.