Bitcoin difficulty adjusts dynamically with available hashpower, in other words if miners started to shut down the network would lower it's difficulty to keep blocktimes stable.
The chain will not collapse because someone somewhere will always keep it going.