Europe relies on foreign raw materials to power its green and digital plans. Now it wants to mine them at home | Fortune