Online retail giants Amazon and eBay have been urged to pull “potentially deadly” magnets from their virtual shelves.