Programming a computer to fly a plane isn't that hard in the grand scheme of things. I mean GA aircraft already have an auto-land feature.
But we don't get paid to fly as much as we get paid to make decisions. And the AI that can replace a human on that level of decision making is decades off, if not a century. But yeah, it will happen eventually.