The world is increasingly turning to Brazil to explore for rare earth minerals that are crucial for technology and renewable energy. The country's large reserves are second only to China and have attracted investors, many of them with foreign support.