It is trivial and they've done it for ages. It's called reinsurance.
Basically (_very_ basically, there's more to it) the insurance company insures itself against large claims.
Basically (_very_ basically, there's more to it) the insurance company insures itself against large claims.