Will bitcoin mining always stay profitable? What will happen if mining becomes not profitable?

First, let's quickly discuss what is mining. All transactions on the bitcoin blockchain are grouped into separate blocks (on the average there are about 1000-2000 transactions in one block )....