Society is a closed system. Mandating wearing seatbelts only saves me right? Except that someone will have to go to the effort of scraping me off the sidewalk, attempting to resuscitate me, transporting me to the hospital, resources at the hospital will be consumed that could have otherwise been preserved or applied elsewhere, and if I'm not insured, the cost of most of this will be borne by others. If I don't make it, what happens to my dependents? Friends? Family? People counting on me at work?
Communicable disease and taking reasonable precaution isn't that different. This one is interesting because its virality and fatality rates are apparently on the cusp of what society as a whole agrees are worth doing something about.