Another lesson of Ikea is that often you cannot move them from one home/apartment to another, because if you try to take it apart and then reassemble it, it's never the same. To extend this via analogy to the software realm, a deep refactoring is problematic whereas OTOH a complete rewrite is a better idea. Which has not borne borne out by industry experience.
It would be interesting if we could create a world economy in which moving something always costed less than manufacturing another instance of it.