With the risk of sounding awkward.
Patents for real-world objects should pose no problem to 3d modeling unless they are decorative patents (started popping up in the 80’s). Some documentation is advised as manufacturers can potentially patent certain visual portions of their products under decorative patents.
If we’re talking about trademarks (there is a difference), just remove any distinctive signs from the model. These can range from the emblem, logo, make and name to a wide variety of things including certain curvatures or body angles. This information is required to be public. It takes a bit of documentation but there’s nothing they can do about it if done properly.
A Copyright is an entirely different thing though. The law is always arguable and “bendable” when it comes to extending to new (digital) fields. Thus, if really poised on suing, the larger company will usually win this argument.
As the poster above has said, HK is really crappy about their weapons. However, you must remember that functional elements of designs are not copyrightable and that copyright laws are ignored or completely different in some countries.
The company we’ve worked for had a very simple and definitive solution to HK’s whining. Instead of using the real HK firearms as models, we’ve ordered Chinese made, Airsoft replicas. These extremely realistic toys are legal in virtually every country.
Since they leave HongKong under a totally different copyright and a completely different designation (toys) HK has absolutely nothing to say about it. Thus whenever asked, our modeling department was modeling “external depictions of Airsoft toys”.
Another thing about HK (and most weapons manufacturers) is that they don’t employ decorative patents, so the only thing to look out for in our case were trademarks. Thus, an MP5k was a g55k, an mp7 was a g57, etc. Of course the markings were laid out differently and so on.
Cars are way trickier. You should however remember that there were no such decorative patents prior to the 1960s or so. Thus, you can model an exact (Exterior wise) replica of a 1955 car and just remove the trademarks to be in the clear.
P.S: you should also look up the “fair use” exception. With a good lawyer you could probably pass a non-profit game under the exception.