The AF (all military really) pilot retention problem will fix itself (different take than awax).
Drones will replace most of the manned cockpits sooner than later. With the F-35 we might have the last manned fighter. Bombers next. Transports last. It will certainly happen sooner in military airplanes than civil/airline airliners.