The joke is a pun. A metronome makes a periodic ticking and helps musicians stay on 'beat' or with the correct rhythm and timing for a song.  To say one can't 'beat' a price would mean that a price is the best one available.
I bought a metronome for 20 bucks . You can ' t beat that price .