One man is in critical condition after a fierce fire at a Brooklyn apartment building, which firefighters believe was caused by a charging lithium-ion battery.