Indeed. And to add to your argument, AI may be effective in controlling aircraft for certain tasks some day. But there are still many that will either require a pilot there, or greatly benefit from a pilot there.
The "drones will replace everything" argument does not understand fully the missions required of combat aircraft. I won't be as foolish to say it could never happen. But to those who argue that, say, the F-35 should be canceled in favor of a drone, need to show how their drone can do what a manned strike aircraft like the F-35 can do.
And indeed, stealth was always a "make air defense more expensive" prospect. And while techniques have come out to counter some of the benefits of stealth, they all come with tradeoffs and added costs....which was precisely the point.
The question isn't whether One Specific Mission might be replaceable. It's whether a war fought with the 1000 F-35's needed to do that mission can be successfully prosecuted against an enemy armed with A Million Drones (because yes, 1000x is just about the cost delta we're talking about).
Consider: Germany in 1940 had absolutely no answer for French heavy armor. There were weapon systems along the Maginot line which the wehrmacht couldn't counter, and everyone knew it. They didn't need to.
You're not even asking the right question. There's nothing magic about cheap drones. They can be effective supplements to crew-served weapons and light artillery for close combat. But they lack the range to be effective in the Indo-Pacific Theater, and when drones are designed with sufficient range they stop being cheap. Besides the range problem, cheap drones also can't perform the full spectrum of missions like deep strike, ASuW, interception, etc.
For all its faults, the F-35 at least has sufficient combat radius and survivability to be relevant in a major near-peer conflict (although it desperately needs a new and more expensive adaptive cycle engine). Until a better platform comes along the choices are essentially the F-35 or nothing.