This contributed significantly to the Air France 447 crash in 2009.
see: https://99percentinvisible.org/episode/children-of-the-magen...
and more broadly https://www.youtube.com/watch?v=pN41LvuSz10
They're 'set' in the sense that if communications is lost between the pilot and ATC, there's a pre-determined and more importantly pre-authorized path for the aircraft to fly through.
> A plane on autopilot would never have to dodge a pedestrian
It happens quite a bit, which is why we invented TCAS. [1] A common misconception is that _all_ traffic is required to file a flight plan, and that's only true for IFR (instrument) traffic and not for VFR (visual) traffic. So, an IFR flight can, and will, encouter VFR flights that interfere with their flight.
> and would be separated from other planes by thousands of feet.
In certain situations, in transit regions and during clearance/delivery, this is not true.
1: https://en.wikipedia.org/wiki/Traffic_collision_avoidance_sy...
https://flightsafety.org/runway-incursions-down/
But realistically it's not like all flights could be done completely on autopilot. It's not uncommon for a flight plan to change due to delays at an airport.