let's look into the history, we had bitcoin lower than $200, but to the best of my knowledge,
relating that to the electricity costs, mining will become a loss instead of profit
but to my knowledge we didn't see the 51% attack..
i am guessing the 'difficulty' implemented by mr nakamoto is a great filter for this kind of situation,
when there are no miner, the diff will go down, much much down even your android phone can do the mining..
and when the diff go down, a miner or two will start their miner to snap the profit as much as they could, automaticaly this will give the 'decentrilized network state',
thus preventing the 51% attack