I do not see mining coming to an end so fast. We must see this and get also that mining isn't restricted to Bitcoin alone. There are many altcoins too that have pitched their tent with Btc in the mining sector. Examples include projects like Envion, Dice money and many more. The only restriction I can see as regards to mining is that not so many have the opportunity of mining as it's relatively too expensive to manage.