The best way to avoid a "bottle bomb" is to ferment the brew to completion and then add a known amount of priming sugar before bottling. In such a way the amount of carbonation can be relatively well controlled and the "bomb" situation should never occur.
Some do not like using priming sugar and aim to bottle the beer before fermentation of the malt is complete. If the SG is checked to make sure the brew is in a suitable state then the carbonation should be predictable, after all "natural carbonation" should be a repeatable process to be useful.
However if the brew is repeatedly unpredictable or the brew is new and unfamiliar (eg "real" Ginger beer!) then the best thing to do is to use PET bottles with screw tops of the type used for fizzy drinks. PET bottles take a very high pressure and deform and burst rather than explode with "hard shrapnel"
Using PET bottles allows one to experiment more safely and work out what conditions are needed to condition the brew safely in a glass bottle.
For my own experience and comments from other brewers I have noticed that "flip top" bottles rarely explode. It seems as the pressure increases the top is unseated and the excess pressure vents slowly. The wire retainer has some slight give and the rubber washer allows a good seal to be reformed after venting. So that may be a option with an inbuilt safety valve. YMMV
It is usually possible to use an enclosed style of plastic beer crate as a container for "highly pressurised" bottles. If there was a bottle explosion then the plastic crate walls would normally contain the flying shards of glass. But this is a false safety. Say the bottles were stored in such a crate or any other bin, barrel or container. Say they were highly pressured and just on the edge of blowing. That would be a very dangerous situation. For example, one might take a bottle from the "safe storage" and it may blow there and then in the hand due to the disturbance. No bin would prevent injury from an event like that. Which is why I recommend finding a way not to make a bottle bomb and if all else fails don't use glass.If one really must use glass try wrapping the bottles in industrial strength cling film. Even several layers of normal domestic cling film (or waterproof tape) will help stop or slow flying shards of glass.
Stay safe!