the metal case is attached to the earth wire. the earth wire is connected into the ground with a metal rod. If the case becomes live, a huge current flows to Earth. The fuse melts and shuts off the current, preventing someone getting an electric shock from touching the metal case