Sorry to nitpick, but the patent system doesn't directly incentivize heavy investment in research initiatives. It incentivizes publicly disclosing how to practice the invention in exchange for a limited monopoly on practicing that invention. The government and other interested organizations incentivize research by offering grants, prizes, or outright subsidizing the research.
What is not in the interest of society as a whole are (1) patents on inventions that did not incur any cost (2) passing on these monopolies to entities that do not plan to produce anything.
I disagree with point (1) if by "cost" you're referring to financial expenditures. Psychic cost and other non-tangible costs are still very real. More than that, however, the patent system's purpose isn't to make people money. Its only purpose is "[t]o promote the Progress of Science and useful Arts, by securing for limited Times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries." US Const. Art. 1, sec. 8, cl. 8. As implemented in Title 35, the Patent Act accomplishes this by requiring disclosure of the patentable subject matter in exchange to this exclusive right to practice the invention for a limited time.