We are in business with corporations and they are here to make $$$ and providing jobs and making employees happy is not on the list.
The relationship is "at will", they can nuke you at any given point in time. You can leave on you own if you'd like. The sooner you accept this fact the better off you'll be.
Always think about your family, try to build a large emergency fund and think in terms of being able to apply somewhere else immediately.
An old book from the 1990s emphasized that successful people acknowledge they can't control everything and don't waste time worrying or trying to change things beyond their influence...they simply accept them as they are.
As an regular employee in the tech industry, you have limited control (almost no control). Recognize this and be ready for potential challenges.