Hundreds of people were ordered to evacuate after a major fire erupted at one of the world’s largest battery storage plants.