> ground wires to the water pipes
Historically, in the US, city water was underground metal pipe over the whole town. This was a VERY good earth connection.
When I investigated this in my last city-water house, I discovered that the copper pipe through the wall stopped a few inches out, the run to the street was new plastic.
Water companies objected to bonding, and some water meter techs have been killed by customer mis-wiring. But water-pipe ground is so good that water men and NEC have come to tenuous agreement, emphasizing a jumper around the water meter so it can be replaced without breaking electrical connection.
I jumped my meter, even though the far end was just a few inches in dirt. Not enough to absorb a major fault, but plenty to shock a water-worker.
Gas pipe was historically metal, though gas companies objected to bonding. I had gas put in, and noted that again it was metal only above ground, the run was plastic.
In that house I discovered an abandoned water system under the kitchen. Copper and *lead* pipes in semi-damp ground, and the stub end convenient to my indoor metal pipes so I jumped it.
Do note that a "shower" is really two pipe systems. Clean water spout, dirty water drain. Old drains were clay, but later a lot of copper was used and sometimes iron far into the ground. Main street drains were typically clay, but in un-stable soil these may have been upgraded to iron.
So it "is" possible to have the spout and the drain at different voltages. (And I have never seen a rule to suggest bonding drain pipe.)
> a problem to the engine fan of the boiler of my neighbor
If ALL the connections were correct, a hard-short in the equipment would blow a fuse, a part short would not induce significant voltage in the plumbing.
There are many ways the wires can be shockingly incorrect, but the lights (and boiler) work fine.