If a plane has an AGI (artificial general intelligence) level of automation, then obviously it's better than any human pilot, period. But we are long way from that, and anything less is unacceptable. AI as it is right now can't successfully replace a Starbucks Barrista, let alone an F-35 pilot. On another note, I feel like AGI directed airplanes can pull off impressive stuff, like synchronization without communicating among themselves or things of that nature.
But for the next few years, we have different hurdles to overcome. If TUSAŞ manages to pull 20 Block 10s by 2028, I can just dance from joy.