Certainly. It also helps a resume. And if that is the only value to the work, then so be it. But there is a reason why R&D departments and universities publish AND protect generated IP. They want returns on investment. In my case, I invested in myself. Why shouldn't I play this game?
Universities don't do research. Individuals affiliated with the university do. The usual deal is that the individuals own the results. If they want to commercialize the results, then the university (and possibly the funders) get a share. But the vast majority of academics don't do that, because commercialization attempts mean certain bureaucracy and uncertain gains. Most just want to talk about their results freely. Many even talk about preliminary work and preliminary results openly to make it less likely that the eventual results will be patentable.