The patent system was conceived to allow the little guy (or little business) to invent, and profit from those inventions, even when he lacked the means or scale of manufacture to reliably profit from that invention.
Without such protection obviously there was no way that someone who invented a new method to harness energy from gasoline, for instance, could avoid getting crushed by an established car company: He would have close to zero leverage in such a transaction, and there was little to prevent them from simply saying "thanks".
Honestly I suspect that if companies above some threshold were barred from filing patents, it would have no impact at all on their R&D spend. It might even improve efficiencies as they stop focusing on trying to land grab with hundreds of trivial patents (which is sadly what most patents are now, where offenders accidentally offend simply in the course of building things because overlap is unavoidable).
There is nothing, whatsoever, morally different between patent trolls and a company like Apple. They are both playing the same game to enrich themselves at the cost of everyone else. As the old saying goes, however, don't hate the players, hate the game, so kudos to Apple for doing what they can to ensure that $4 billion + of profit enriches their account every quarter.