Powerful magnets are bringing abundant, pollution-free electricity a step closer.