There’s an insurance product for that.
Pandemic insurance is available for businesses - it is a cost that will, by definition, not likely pay back. But if an event occurs it will pay out as expected.
Human behavior is such that only about 12% of Californians in at-risk areas purchase earthquake insurance - even though many significant earthquakes have occurred in living memory.