The best time to do this is when you're filming the Secret Agent Clank episode, since you have about 20 machines to play. Keep smacking them and they'll either give you nothing, a few bolts, explode or give you the Jackpot. It takes considerably less time than in Going Commando I noticed (as it took me a mere 5 minutes to get it) and if you destroy all the machines, you can always jump off and restart.
If you missed it during that mission, return to planet Holostar and you'll still find the machines there, though less of them. The same strategy applies: keep smacking them until you either get it or they all explode. Good luck, this is a luck based trophy for sure but it should be easier than in GC.