Pilots of fast jets have long used ejector seats.
Today’s invention is to fit these aircraft with a number of additional ejection devices, specifically for high-value equipment modules.
The hardware has different maximum acceleration limits from the people on board and so these would be set to fire their pyrotechnics milliseconds after the crew’s seat(s) had departed.
Anything of particular significance…eg secret technology or reconnaissance data might be mounted in a standalone UAV to allow it to attempt to return to base.
Such modules might even have specific self-destruct capabilities so that, if captured, they could obliterate themselves more effectvely than if just involved in a crash.