The two diagrams describe the same apparatus. Only the voltage difference matters.
From a practical perspective, one wants the outside surfaces of a device to be near the ground potential. Exposed high-potential surfaces risk dangerous electrical arcs. In many countries, electrical wall sockets are polarized so that, even without a dedicated ground pin, the outer surfaces of the device are connected to the low-voltage "return" line of the power cable.
I was involved years ago with the design of a neutron decay experiment where either the proton or electron detector electronics (I have forgotten which) needed to be at 30 kV relative to ground. Safely accessing the detector side of the experiment was going to take some major safety engineering — but it was doable with existing industrial equipment, rather than our team needing to invent such an engineering system from scratch.
For an electron gun, the beam target needs to be at the same potential as the anode — otherwise the electrons will accelerate or decelerate en route.