You can get insurance on very risky things. The way it's done is high rates and "reinsurance" which means the insurance company shares the risk (and premium) with a pool of other insurance companies. For policies with a large possible payout (e.g. a big ship or aircraft) this is always done, to avoid issues for the insurance company that gets unlucky enough to have to pay out.