Every large building in the last 100 years has been built with multiple integral fire-safe paths of egress for the very reason that a path should be available if one is blocked. The design of buildings is very much conditioned on tables in the fire code about how many paths of egress, how large they must be, and how long they can be based on how many people need to be evacuated. (Not to mention how many hours of fire each door and partition must be designed to resist.) It's kind of a PITA. And it works very well.
External fire escapes are merely the retrofit allowed to old single-stairway buildings to get them to be vaguely as safe as a modern building.
In San Francisco, there's a bit of a push right now to re-allow single-stair design ("Single Stair Reform") for certain buildings (eg up to 4 or up to 6 stories). Requiring two stairways makes sense from a fire safety perspective, but it's made it incredibly difficult to cost-effectively build medium-size buildings on oddly-shaped lots.
Generators are typically grid-forming. They can (and will) be out of phase with the grid power, and will backfeed and create hazardous conditions upstream if the grid is out (and your main breaker is still on.) To use a generator safely you need a transfer switch (or similar) to make sure only one source of power can be active at a time.
Solar inverters (esp for this use, but also in general) are grid following; they'll use the existing frequency and support it, and if the grid goes off they'll go off too and do no power-off backfeeding.
The inverters are thus broadly safer to be plugged in to systems that are otherwise unprepared.
Generators could be made grid-following (many are now inverter-based), but for most users that would be silly, since the supplemental power would be more expensive (and louder!) than from the grid.
It would in practice be (mostly) fine, just as it is elsewhere. But electrical safety principles in the US are typically "must be safe regardless of the dumbest possible use" so that "mostly" is a big obstacle.
External fire escapes are merely the retrofit allowed to old single-stairway buildings to get them to be vaguely as safe as a modern building.