Two men stand near a piece of large machinery.
Two men are having sex
The men cannot simultaneously stand near machinery and be having sex
It's implausible and unsafe to have sex while standing next to a large piece of machinery.
Standing near implies a lack of physical activity that having sex entails.