You're thinking like a developer rather than a business guy. If source code is worthless, give it away and monetize in other ways. This Is exactly like industrialization "killing" artisans. Yes most couldn't operate like before, but there's now super niche artisans and cost of the basics are much lower with higher average quality