Read up on “broken window fallacy” and you will see that it would be very contraproductive.
It’s an interesting read. In the parable the glass is broken and simply replaced, which I agree seems counterproductive. However, one could argue that the demolition of a surplus apartment block in either a poor state of repair or likely to be in a poor state of affair is not a similar analogy. If the building was demolished it would not be replaced by a similar poorly constructed building. More likely that space would be be tidied up for the benefit of the community.