It's not darkened on purpose, but as a result of containing electromagnetic radiation shielding.
This also doesn't do anything against the (static) magnetic field, which is really hard to block except with material like steel, which don't make very good windows. Newer machines have a counter-magnet to redirect the field to extend less far from the machine.