Yes, they should be credited for it.
In 2050, when some one reads about an iPhone, it should read that Apple invented pinch to zoom and other multi-touch wonders. [ci needed]
But having patents on that? It's ridiculous. What if some one had a patent on clicking on a trackpad OR clicking on a mouse button OR ...
These are basic things; absolute common sense which apple should be credited for; that's all. They should never have patented it.
What seems obvious today (or in the future) may not have been so obvious in the past.
That is why r&d is important, and that is why the protection of ip rights is also important, regardless of how obvious something is.
If companies did not have this protection, then its simply a race to the bottom.
The end result will be that no company will be able to afford to innovate because its innovations will be stolen and copied by companies who put no effort into their own r&d.