For me it’s a hard subject to think about because I have no expertise in software or design. My inclination is to say “ no way, not for another 100 years” but then I realise I don’t really know what is possible.
For example, I can’t imagine how a fully automated aircraft would deal with GPS spoofing that results in an EGPWS Pull Up command on a nice day while on descent in a situation where the pilots would easily look out the window and know it shouldn’t be followed. Perhaps that’s an easy problem to solve but with my limited knowledge I can’t see it being done in the next 40 years.