This is not a capitalism issue. During the communist revolution, scientists were persecuted if their work was too "intellectual" and didn't have immediate use.
https://en.wikipedia.org/wiki/Stinking_Old_Ninth
https://www.culturalrevolutionceramics.com/object-details/do...