Officials have begun testing water and soil after a fire at one of the world's largest lithium battery storage facilities.