In a leftist utopia we wouldn’t prioritize either because we’d do both. In a transitory state we could do plenty of both (see China), and the cost of this project is not large relative to national projects like housing, education (which this is part of anyway), or healthcare for all. In our current capitalist hellscape shutting this type of research down would reduce no poverty and win no allies.
We’re always going to allocate resources to projects that do not address the most basic of needs. Criticism of that comes from a much better place than reactionaries yelling “you can’t complain about being poor unless you live like a monk,” but you can make all the same arguments against it.