This didn't happen overnight. When I was in my early teens in the 90s I already had a sense, from listening to the news, that employers were out for their own self-interest first and foremost. Massive layoffs, shrinking benefits, and the concept of public companies being primarily responsible to their shareholders all send the same message: "At the end of the day, you are disposable. Loyalty will not be reciprocated."
As an employee, it would be irrational to ignore this and hope that loyalty would be rewarded.