How America fell behind in the rare-earth race—and how it hopes to come back | Fortune