The joke is a pun.  To say something 'oddly' is to say it in a strange way.  The 'odds' of a bet determine the payout of a bet, and generally is set to favor the more likely outcome.
That horse looks like a good bet at 17 to 1 , said Tom oddly .