What is the purpose of the extremely high cabin altitudes in military aircraft?
Even the unmanned RQ-4 Global Hawk has a pressurized compartment. The low air density at altitude would not be sufficient to cool the electronics, so a pressurized electronics compartment had to be added.

I am not sure, but I expect the same reason required pressurization in the U-2 and the SR-71. The electronics were, besides the pilots, also an occupant of their pressurized cockpits.

At the pressure of 25.000 ft a human will not stay conscious, but will be able to survive. When the pressure drops below that of 30.000 ft, the breathing reflex will stop. If the pilot initiates a descent when his pressure suit starts to leak, he has a good chance of waking up at lower altitude before the aircraft hits the ground if the cabin can prevent the air pressure from falling to that of ambient air.