Nickel is a critical metal in batteries, and the world's miners are racing to keep up with the booming demand for electric vehicles and renewables.