Windows aren't for aesthetic reasons. They are required in bedrooms by most codes for fire egress purposes.
Commented on this elsewhere [1], but egress into a fireproofed stairwell is a safety-neutral compromise. It's against code, however.
That's the point. It's vestigial code that could be loosened to promote housing supply.
The tallest ladders in the FDNY's inventory go up to 100'. (They were testing a 300' rig, but I don't know if it was deployed.) They aren't designed to recover people from burning skyscrapers.
Which means you don’t need a window in every apartment—those people can’t use theirs for egress.