Nobody is expected to risk death or injury in an attempt to stop a fire, but if the fire is detected at a very early stage, before it has a chance to grow, then it may be possible for someone who has the right training and equipment to extinguish it.
Additionally, while your fire risk assessment should make sure there are safe means of escape, someone may get trapped by a fire and need to use an extinguisher as an emergency aid to escape.