That is how it works at all. The company took in $107,000,000,000 dollars in 2015 but were just forced to layoff off engineers. Right, no despotic dictatorship banana republic stuff going on there.
It could be argued with that much revenue they could afford a better work environment for their employees, but it's not as bad as you make it out to be.
Also that's revenue and not income, which was $596 million. Quite a difference.