Given years of history with open source software we already know how to solve this problem. This is pointed out by Bryan Bruns, a sociologist with the Foresight Institute, who promotes better policies on intellectual property, including full publication of publicly-funded research in ways that are accessible and affordable.
This feeds into a complex development problem. In an ideal world developments paid for by the public should be available to the public. At the same time business will be disinclined to push those developments to the marketing stage without some exclusive rights on the market. How does one resolve this problem?