Everyone has an opinion, and many are very passionate about that opinion, but all that matters is what the top level management think. You may think you know what's going on and why, but you don't.
You are not privy to that info, and you do not know what SF's 20 year plan is. For all you know, the Executives have plans to replace 80% of staff with AI or Bots. They know much more than you do about what's available and will be available in the coming years, so you can scream and hollar about how bad they are, but you are looking at a tiny fraction of the puzzle, and they can see the big picture.
And for those of you who somehow got the notion that a corporation's responsibility is to "take care of its people," welcome to 2018, not 1950. The world has changed, and it's high time you recognized that.
Well, it's actually WAY too late for you to recognize that, but at least you'll have a clue why they canned you and not be so indignant, as if they owe you something. You got paid right? Yes, you did, for every hour worked, so the company doesn't owe you squat.