Like the GP said: in offices the floor is often a big open space where light from windows can extend a long way. But once you start dividing up that big space into smaller residential units with walls, that light gets blocked.
Even if that's solved the bigger problem is earthquake code. These older buildings aren't up to modern code and significant renovations would require structure changes.
Unless we are talking about super large appartment with tons of rooms, they need windows