I think non-profit universities are the most relevant example of successful non-profit research. For a useful product, you can look at Covid vaccines, which were nearly entirely based on non-profit and publicly funded research, development, and production. The only thing the profit motive contributed was blocking low-income countries from producing their own vaccines.