the problem is your framing of the problem, not the questions you posed. it seems to me like you’re assuming that the only metrics for risk and reward are profit and cost. let me put it this way: do you find there to be any intrinsic value to the invention of antibiotics, or is such a development only worth the money that it can make for its inventor / discoverer? do you think that the cost of developing such technologies is worth it even if it does not gain any material income?
Let’s also imagine the other side of the equation. Can you not imagine any penalty or cost other than bankruptcy? Let’s say you are forced to allocate $1 million per year to research. is the only cost function you can imagine based on the risk of default?