How to design and manufacture machines without counterfeiting? What is the definition of machine patent counterfeiting?

See if anyone else has applied for a patent. If there is a patent, you make it for the purpose of production and operation, which is infringement.

Manufacturing does not necessarily mean infringement. For example, if someone else's engine has a patent, you copy it with someone else's patented technology, and you sell the engine or use it to build a car, just for profit, which is infringement.

If you only use it in your own car and drive it yourself, it is not infringement, but if it is used for business, such as making money, it is still infringement.