America’s only rare earth producer gets a boost from Apple and Pentagon agreements