The automaker has quietly seeded the revival of the domestic magnet industry, locking down supply amid trade tensions.