As above, integrated circuits (ICs or silicone chips) are fairly resilient these days - even the CMOS modules inside computers are happy to take quite a static beating. A faulty switch could easily fail though or the various reasons that lynx mentions.
I dread to think the kind of battering that car keys get in peoples pockes and bags!