That's completely wrong. Sure machines can control take off, navigation, and landing as long as everything works. However they are unable to cope with unexpected system failures. A lot of things can go wrong on even the simplest aircraft and it's impossible to anticipate and code for all of them.