Australia’s rare earths deal with the US will expand production. Until now, much high-risk processing has been outsourced overseas. That will have to change.