I believe the grounding is to detect any leakage in the tank. As the grounding is connect to the ELCB (Electric Leackage Circuit Breaker), the CB will trip (cut off the power supply) if there is any current leakage. This work same as the water heater you use in your bathroom.