There are many possible solutions.
The first would be for the government to behave like a normal investor: Give money for stock or give a loan instead of writing blank cheques.
The blank cheque at least could have disallowed any sort of patents. This is quite ridiculous: https://www.nytimes.com/2023/02/23/science/moderna-covid-vac...