Victoria will build the world’s second largest battery as the state seeks to move further along the transition to renewable energy.