This is a hard one. mRNA vaccines are a fundamental new technology. The technology will open up many new future uses so by giving away the know-how we are giving away many future benefits the technology will bring. I think it's like saying 60 years ago lets give away the tech used in integrated circuits. I suspect information technology as we know it now would be very different.
Even if the technology was shared it would take a lot of time to bring up enough production to be helpful. Also, it's very easy to contaminate the production and put out a bad product that might hurt many people and taint the reputation of mRNA vaccines for many years. Making it that much harder to produce new products.
The solution is to ramp up production, and we can do it, to produce enough vaccine for all of the world. We don't need to give away the know-how.