The fundamental inventions on mRNA vaccines were grant-funded academic work. But I don't know that anyone asserts that breakthrough inventions don't come from capitalism, certainly in the 19th and early 20th century many inventions were created by individual entrepreneurs, for example the Wright Brothers.