Mythbusters TV show tested this one and, I believe, found some validity. Not sure it has any practical use for diving, I guess you could make your weights out of magnets, but I suspect your navigation may be suspect as the compass would go a little haywire. What about magnetizing steel tanks?

Anyway, if they can find a practical way to keep sharks out of nets, that would be a good thing.