I think the line is fuzzier than you'd think.
There's a large grey area of old/marginal/condemned housing stock where buyers are making a tradeoff between a teardown + rebuild vs buying an old house and patching it up.
Flippers who successfully rehabilitate an old house do increase the effective supply.