What’s really bizarre about the hatred of philosophy by physicists and STEM types today is that nearly all of the physicists who originated quantum mechanics were very much into philosophy.
Which, you know, is not a real surprise considering how the universe is. The turn against philosophy more has to do with forcing people to not question what they are told rather than its lack of usefulness. They must be convinced of its lack of utility so they do not accidentally do any independent thinking dangerous to neoliberalism and the status quo.