Bigger spending on EV batteries means more nickel has to be mined