I don't understand how this is a critique of capitalism. Doesn't this argument of shortsightedness apply to all economic and political systems?
The specific defect here is that right now, today, a capitalist country is not, in your estimation, putting enough capital behind biotech to solve the problem of antibiotic-resistant bacterial infections. More expansively, you're saying that Capitalism is incapable of making this effort.
It sounds facile, but what's the alternative? Isn't this a defect of every economic and political system on the planet, not just capitalism? Cuban communism is not putting sufficient capital in play to solve this problem as well, you know. Nor is passive anarchy in eastern Africa putting enough capital towards solving the problem.
Even assuming that more capital would magically solve this is kind of a naive viewpoint; serendipity and advancement in parallel fields has played a much larger role in advancements in medical technology than directed research has [citation needed], and for all we know, advances in information technology could hold the answers to solving this problem in a much more effective way.
The notion that a directed, centrally planned effort can solve problems (rather than just implement those solutions) is one that is historically unsupportable in any context.