It matters differently for business code that fundamentally solves old problems versus code (or proofs) that solve new problems. What makes the slopborne NIH-syndrome frameworks suboptimal is that there exist solutions to those exact problems already. That does not necessarily apply to frameworks built in the course of a new problem.
In fact, when humans build new mathematical frameworks, that's often touted as one of the important side effects of solving open problems. That could well be just as true here.