Fire extinguishing device for square cabin energy storage power station