HTC has countered Apple's patent infringement lawsuit by filing a claim with the International Trade Commission (ITC) alleging Apple infringes on five HTC patents. Many experts have suggested that Apple's real target is Android, and Google itself, but it is fighting by proxy--going after the smaller .
In the wake of Apple's legal attack, HTC signed a patent related to HTC's Android-based handsets. There was some speculation that the relationship was a thinly-veiled signal to Apple that Microsoft might come to HTC's defense. It is more likely, though, that HTC gains some insight into Microsoft's intellectual property that can strengthen its position against Apple without any overt assistance from Microsoft.
The battle between Apple and HTC is just one of many patent battles being fought in the court system, though. Nokia and Apple and countersuits in US district court, as well as with the ITC. Motorola has a complaint filed with the ITC against RIM--maker of the popular BlackBerry smartphones. The list goes on.
Basically, the legal department--once more a necessary evil to defend the company should the need arise--is now a part of the day to day business operations of major tech companies. Patent suits are part of a systemic business strategy to stifle competition.
Granted, all parties have a right to protect the intellectual property they invest in and develop. With technology, though, many patents seem trivial or inappropriate, and the lines between technologies patented by one company and technologies patented by another are very fine--if they exist at all.