Here's a tongue-in-cheek way to figure out which is which.
First, check whether either one has an "on" button and a plug. If both do, then—in the spirit of the joke—try firing them out of a cannon. That ought to settle the question in a hurry!
Of course, in reality, a rock tumbler is a powered polishing device while a cannon ball is just a solid projectile, so the button-and-plug test is the real giveaway.