I really don’t see this being an issue, certainly not anytime soon. Technology is advancing, but there is a human element that needs to be part of aviation. Humans can make decisions in a way that computers never could, we can feel how an airplane is responding in gusty conditions, on snowy runways, etc. Humans aren’t always perfect, but I would sure trust myself to two humans flying an airplane than to a computer and the public seems to feel that way too.
As automation has increased in the railroad industry there has been a move by some railroads to reduce train crews from a conductor and an engineer to just the engineer. There is a very strong rumor that the Federal Railway Administration is about to formally require two crewmembers because they do not feel that the technology has advanced to the point where just one person should be running a locomotive. There are actually several similarities between the rail and aviation industries, if a train is too complex to be operated with just one person than an airplane certainly is, too.