In the case of a fire tenents try to get out of the house and usually there is a normal manual turn lock on the inside of the door that works without electricity.
For the fire fighters, I assume they break down the door anyways?
Nearly all smart locks can be mechanically unlocked from the inside (as required by fire safety regulations).