Regarding the two Russian A50 shot down during the Ukraine war, but it would also apply to US style AWACS.
Beside the price-tag of the plane itself, I would expect that the crews operating the radar are also highly trained, and that if it may be even harder to train a crew than to build a new plane.
I know, that something as simple as pulling the big-red handle on your paraglider harness is pretty hard when you’re in a severe flight incident dealing with G forces and the ground moving full speed toward you, and I imagine it’ll be even harder on a large plane, where you need to access a escape hatch, most likely in a burning and depressurized cabin while having no idea where is up/down due to the G-force and the rotation. However, when flying a plane which like a high value target for the opposing army it would at least feel more comfortable to know that you have a low but non zero chance to escape if you’re shot down.
Planes that go into combat have ejection seats and parachutes.
The A50 is supposed to stay behind the front line.