The first time when drones were introduced in air combat many thought drones will replace fighter jets and eventually fighter pilots will become obsolete. At present that is not the case.
It is unlikely that fighter pilots will become obsolete for decades to come. This is because the US Airforce has F-35 designs that will be in service until 2070.
Apart from this, autonomous drones are not yet capable of taking decisions according to the situation on the battlefield whereas fighter pilots have the capability to take such decisions.