150driver
Software development and computing technology is not and never will be equal to the complexity of the human brain.
There are plenty of extremely distinguished nerds out there who would disagree with you. Although AI is not arriving as fast as some people have suggested, we really have no idea where we will be in 25 or 50 years time.
Anyway, there is a whole lot of difference between a computer being able to produce the complete works of Shakespear, and being able to fly an aeroplane. The latter is eminently computer controllable even now, computers are very safe, and can only get safer. Pilots in transport jets are no longer there primarily to move control surfaces, and carbon based computers have nasty failure modes too.
There is another thread out there debating the merits of having a 250 hour guy flying RHS on a 737. Personally, I'd rather have an experienced captain and a computer.