I am friends with a pilot (commercial 737 short-haul captain for a 'value' european airline). He will happily tell you that
a) Much of what he does is automatable and rather boring (takeoff, landing interesting; the rest very dull), and that it's mostly punching settings into computers. Indeed, he does not have complete ability to do whatever he pleases - if, for example, he climbs too fast or steps outside flight parameters set by the airline (set mostly for cost issues), he would expect to be facing disciplinary action.
b) That a large amount of the training book-work that they have to go through is irrelevant for flying a modern airliner - but is in place mostly to act as a barrier to entry and to keep wages high.
c) That the biggest barrier to 'self-flying planes' (which doesn't mean 'autonomous', it may be drone-style remote-control or other options) is the perception of safety.
It's the last part that's interesting. The Economist ran an article years ago (I can't find a weblink sadly) about how a UPS cargo plane was flown entirely remotely on a test flight. It noted that humans seem to prefer the risk of a "human being" flying them around vs a "computer" - _Even If_ the data showed that the latter was much safer. It went on to point out that this might well be the case given the proportion of accidents classified as "Controlled flight into terrain" (I.E: the pilot crashed an airworthy plane into the ground).
It will be interesting to see if that public perception shifts given recent events. This article is however exactly how I'd expect a pilot to respond.