Investor sentiment whiplashed over rare-earth stocks this week.