Super-strong magnets found in electronic devices such as computers and mobile phones play a crucial role in modern life, but the rare earth elements that power these magnets have fallen into short supply.