MP Materials’ stock was surging Wednesday after the rare-earth producer announced a partnership with the U.S. government to build a refinery in Saudi Arabia.