After decades of improvement, the state of the aviation automation art now includes computers that can out-fly humans in simulated dogfights and land general aviation aircraft on their own in a pinch. However, the most advanced of these still cannot match every human capability, and pilot jobs are most likely safe for decades to come, if not forever.
Source: aopaWill computers ever fly alone?