In the US the construction code (IBC International Building Code) was written, right after the Chicago fire, that destroyed the whole city. As such fire prevention was a priority.
Also in Europe construction is with bricks, so a fire in one apartment won't spread as fast to another one giving the residents plenty of time to evacuate.