It's not about liability. It's about scaring people into thinking something is broken when it's not. If your sidewalk is in good condition you're not going to see any accidents. Being liable for zero accidents isn't the same as not being liable at all.