The estimated time for all 21M bitcoins to be mined is in year 2140, with the value of bitcoin increasing over time, mining will still be a profitable business for miners and recently a lot of bitcoins have been mined from Venezuela. Eventually China will stop mining and new countries will start doing this job.
RE: Bitcoin Mining Apocalypse? Programmer explains.