I have read claims suggesting that the following remedies, among others, are effective against stinky shoes:
Sprinkle bicarbonate soda, baby powder or deodorant on your shoes
Put tea bags in your shoes (some also suggest adding a few drops of essential oil to them).
References for these claims: (1), (2), (3)
What is the action principle behind them?