It's amazing that instead of wondering why toroid transformer linear LAB PSU for 500EUR has Y caps you want me to change building wiring for 120 flats? Crazzzy.
I gave you links that even SMPS can be built safe.
Both the PSUs you show are probably safe (I can't tell generally from so little information) but the presence of Y caps is perfectly normal, they have a very high breakdown rating, don't pass enough current to pose any sort of shock hazard and are agency approved.
This has nothing to do with your Rigol situation however. Yes it has Y caps, but they return their current directly to the PE (ground pin on the mains plug), it should not appear on the output ground of this linear PSU. The only reason you can light a neon from the output ground pin (and case? - that was
one of the questions you didn't answer, is because there is a fault in the PE (ground) circuit. As I have
already explained, this is either a fault in the PSU, the mains lead, your wall socket, your flat wiring, or the entire building. It would be sensible to find out which!
Please stop getting hung up on Y Caps, they are NOT the problem.
Best case you have a dodgy mains lead or wall socket - worst case, if anyone in the other 119 flats has a faulty appliance, some of you get electrocuted. A sensible person would concentrate and follow the simple fault finding checks / questions that have been posted previously.
If you are going to jump to silly conclusions without following sensible advise then please stop wasting other peoples time. "Crazzzy" enough?