Global instability is creating a rush for critical minerals, which are useful for green energy. And the military.