It eventually ends on a reinsurance company that can shoulder insane amounts of risk, e.g. Munich Re, Berkshire Hathaway, Swiss Re etc.
The only alternative to the "government backstop" is that insurers will refuse to write policies or will exclude earthquake risk (in which case the government may need to set up it's own scheme, e.g. in CEA insurance in California).