This is the answer. Devices like this were used to de-magnetize the heads on reel-to-reel tape decks.