It is odd, the Russian lost two and a half of their version of the AWACS with no way to build new ones. The Ukrainians went on to destroy two that were not in usable condition, but, in theory, maybe, could have been repaired.
The USA has lost one and a half, again the half one can probably be repaired. Again, there is no way to build a new one.
It appears the world has lost a significant number of AWACS style planes lately, with no replacements in the foreseeable future.
The replacement might be a fighter plane. AI, miniaturization, and drones might see a fighter plane controlling a swarm of drones. This swarm might cover hundreds or even thousands of square miles. The fighter plane would act like the command center, much like the AWACS. That would require the fighter plane to stand well back from any danger, and keeping the pilot safe.
It sounds great, until you realize it does mean that large amounts of the decisions would be made by AI. One pilot could not be making all those decisions. That means we will get more and more computers deciding what is and is not a target, and sometimes getting it wrong killing civilians.