Capitalism loves science when it’s used to develop new technologies or new means of extracting resources.
Capitalism is indifferent to science when it works on things which can’t be directly commercialized.
Capitalism really hates science when it investigates environmental degradation, or when it points out that the economy is running headlong into a brick wall of resource limitation.