There's an important distinction to be made between the ultimate value to society of specific scientific pursuits and the more pragmatic issue of career opportunities and financial reimbursement.
From the point of view of career selection, it's important that you ask how easy it will be to convince someone to give you money to do what it is you're learning to do. In that context, application tends to rule the day. As a general rule, more people will be willing to give you money to do things like build bridges, program computers, cure their diseases or help them find more oil. It is generally more difficult to convince people to give you money to measure gravitational waves or model galactic collisions.
But all successful societies recognize the intrinsic value of academic pursuits. That's why we pay taxes to establish universities. That's the reason d'etre for large funding agencies that provide grants to support these "head knowledge" pursuits. Laypeople have no way of accurately assessing which scientific ideas are worth channelling millions of dollars into and which ones are the musings of crackpots with amped up vocabularies. But most of them know that there are some really good ideas out there and they are worth pursuing, so they are for the most part happy that some of their money is used to support these efforts and they set up independent panels of experts to assess ideas as they emerge. As a result, you have a set amount of money to support such things and some pretty fierce competition for it. The good grant writers are the ones who are able to make this connection and make people understand the value of work that may otherwise seem of only academic interest.