Not sure about Facebook, but definitely not the case for Microsoft. The key for long term survival is having multiple distinct divisions, so breaking one of them doesn't break the whole company, and that's the case for them. Just look at how IBM survived and is still gigantic today by reinventing itself and investing in multiple fronts.