Lightning rods don't protect buildings from being hit, the rods are supposed to be hit. Lightning strikes hit the rod which then the current is run down the building into the ground. Just because there are lightning rods doesn't mean the lightning has to hit the rod. It is also possible to have the lightning overwhelm the grounding system along with building defect etc. Many things can go wrong and even surge protector, circuit breakers, grounding etc. can't handle the lightning. If the lightning is faster than the breakers can pop then a huge surge will hit equipment.
I was in a harbor and watched a lightning strike bounce around off the sail boat masts wiping out random equipment all over the harbor. Tiki bar there, credit machine here, lights over there, it was kind of strange how that worked out. You could hear it and see it, kind of wild but not in a good way.