This is one of many cases that UBI could “solve”. If you can house and feed your family, don’t have to worry about healthcare/education costs, etc, you are freed to work on projects like that (either on your own, or associating with others) that benefit society as a whole but are not neatly solved by “the free market”.