About your concern that companies might substitute pilots with computers, my uneducated guess is that this is not feasible or affordable yet.
But if computers are one day really cheaper than pilots, why not? And if real pilots are saver while computers are cheaper, discount companies will adept the new technology while conventional ones will stick with pilots. Like today, if you want higher quality, implying safety in this case, you gotta pay more.
But as the real crucial piloting decisions have to be done fast and rely on human qualities like experience and intuition, I seriously doubt that any computer in the near future will substitute the best supercomputer known to us, the human brain.