The same way they were invented before.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6351694/
An interviewer once inquired about the ownership of the polio vaccine patent, to which Salk famously answered, “Well, the people, I would say. There is no patent. Could you patent the sun?”
https://www.t1international.com/100years/ On January 23rd, 1923 Banting, Best, and Collip were awarded the American patents for insulin. They sold the patent to the University of Toronto for $1 each. Banting notably said: “Insulin does not belong to me, it belongs to the world.” His desire was for everyone who needed access to it to have it.