While others may argue, I've never been successful.
I've taken some very powerful earth magnets and attempted to erase BIOS chips... disks... solid state storage devices.. etc... Just for fun I might add.
I've yet to be successful.
I doubt it is a myth (certainly there is fact behind magnetic fields erasing storage devices), but I've yet to find a magnet strong enough.