These are just some of the reasons patents are fundamentally broken and the patent system as a whole should be scrapped. Another big issue is that, like most any law, enforcing it costs significant money, and that cost scales depending upon who your opponent is. The cost for a little guy to enforce a patent claim against google is vastly out of proportion to the cost of google to enforce a patent claim against a little guy. This means that the patent system ends up being another form of regulatory capture used to squash competition. If we just removed patents, major corporations would be just as free as today to steal from the little guys, but at least they couldn't then weaponize their patents to crush the original inventors.