There are philosophy departments in almost every reputable University I know...
Everything that is non-STEM is underfunded, it doesn't matter if it is philosophy, anthropology, sociology, history, etc. This has nothing to do with academia itself, but with the managerial society we live in, where MBA-types decide on the value of everything with simplistic, dumb and short-sighted economic metrics.
Science absolutely needs philosophy. Science is philosophy. There is not a lot of encouragement to do real science/philosophy these days, because this requires deep thinking and following all sorts of unknown paths. Everything must be justified in terms of what gadgets can be built with the discoveries.
We are going through a profoundly anti-intellectual stage in western culture.