Of course it is not trivial to get a patent application threw, but that is the reason, big corporations have highly paid lawyers for that. The whole thing is a shadow-industry of it's own (starting at the patent office, that earns money by issuing patents).