Envoyer par SMS: Machine learning dismantling and early-warning signals of disintegration in complex systems