The world's shift to clean energy is driving huge demand for critical minerals such as lithium, nickel, cobalt and copper.