You can either blow them up via hacking or using remote control and killing other machines. I would recommend the latter as you also get a trophy for killing 50 machines via remote control.
The best place to do so is at the Copied City. Remote control one of the enhanced medium sized machines and attack smaller machines in the open area of the level. You can kill 5 machines per minute and they keep respawning.