Hmm, depends how you count it. Arguably, hospitals are significant defense against flesh eating bacteria, just not terribly targeted. Likewise, police forces, firearm restrictions, and mental health services all serve to reduce somewhat the risks from "maniacs going postal". I wouldn't be surprised if either of these were in the hundreds of billions, though certainly not all of that is federal money. I don't know enough about meteor defense, but expect you're closer to unequivocally right there.