Tesla has finished installing the world’s biggest lithium-ion battery and will switch it on over the coming days.