MostNot everything necessarily needs to actually be electrically connected to earth.
Ground loops can be problematic.
For example, most audio amplifiers are not grounded to earth through a grounding prong.
However, all the different electronics are all connectedaudio equipment connects to each other.
All the same "ground"; all the chassises share a common "ground reference".
Turntables always need to be connected to the ground screw of the amplifier to prevent interference. However, but in most cases, the amplifier is not actually connected to earth.
If you have a ton of chassises connected to each other electrically, or one huge chassis, the impendance to ground via the environment is can be pretty low.
After all, a car has no ground screw, but works as a ground; that's how the radio manages to work.