I will confess that we've done this once. When the Gulf War started, my then gf now wife's apartment was on Connecticut Ave in DC roughly smack in between the Kuwaiti embassy on one side and the Israeli embassy on the other (within a 1/2 mile of either). So, in a fit of what-ifs, we bought cases of peas, corn, and pinto beans This was in the pre-Costco days before these kind of buys became routine. And then, once we were back at the apt with all these cans, and it hit us how silly we were being, because even if one of these places were bombed it's not like we're suddenly going to be in need of a can of beans, and opened a bottle of wine and had a good laugh over it all.
But I'll have to admit, having those canned veggies on hand was kind of convenient ...