The government can indeed devalue or even confiscate your assets if it wants to. The problem is that legislators have no interest in pissing off well-heeled companies that can contribute billions to their opponents when the only people opposed to software patents are a few programmers and policy wonks with a whole lot less money than the companies that own the patents.
Also, keep in mind that lawyers tend to be much more politically connected than programmers.