There was indeed an issue on a certain type of german trains ten years ago. The foldable trays in the seat ahead were held up by magnets which were strong enough and so ill-positioned in the corners of the tray as to be able to destroy data on laptop drives...
Here's an
article on the issue (in german only, run it through Google at your own risk).
Never heard of anything similar since then.