You have a good point, over the long run the payout and cost should reach equilibrium because of the difficulty adjustment. However, that's assuming the mining hardware is commoditized and widely available (everyone has the most energy-efficient hardware), and that the difficulty adjustment happens instantaneously rather than every week or two. I bet that there's some room for arbitrage in both of those assumptions...