This is objectively not true. Resource usage (money or other resources) is zero sum, and every dime spent on science is money that cannot be used for something else. I'm not opposed to spending money on science, but it doesn't do any good to make false claims like this.
That's ridiculous, though. But it's the logical extreme of the defeatist argument that there's no way to get more money for these things.
It's obvious that we can tax them a bit, but if we tax them too much they use their power to stop it. That power manifests in many ways. It can be to give money to right wing politicians, or it can be to move to lower-tax regimes. But anyway it's clear that there is not an unlimited pot of rich/corporate tax money out there ready for the picking without resistance.
Should we instead force the scientists working on this to abandon space research to "fix the ills of the world" so they do "something useful" instead?
I honestly don't know what people who keep complaining about scientific research, especially space exploration, want. It is not those billions spent to send a probe to Europa the cause or the solution to the world's problems. Hint: it is not money the cause nor the solution to the world's problems, nor are drive-by social media activists complaining about it.
In comparison, many other branches of science work on much leaner budgets, and sending stuff to space actually does look very wasteful from a "$ per paper" perspective. If you disregard the weapons development value, there is actually very little reason to do these big-money experiments that could instead support the research of hundreds or thousands of more frugal science experiments.
At the same time, there are lots of ways to do space research more cheaply, like launching small satellites. Most of the people who don't like this stuff are against the billion-dollar single missions rather than against astrophysics or against the concept of sending things to space. Many of them also are against the FCC project at CERN, for example.