The entire high-tech industry has devolved into a purely mercenary endeavor. Does not matter the company as every company only cares about what has an individual accomplished lately. Companies accept and now want people to quickly move on or up, and anyone who does not move on or up within a couple of years is considered dead weight and should be summarily booted.
Further, the industry has adopted a model where they want massive amounts of worker bees that do only what they are told by scant few architects (and everyone hopes those few get it right). There are many examples of this occurring across the entire industry which is what also drives the move by many companies to get rid of experienced / older workers because they often have too much experience to be just a worker bee or more importantly, likely cost too much since they are often unwilling to put in 70-80 hours per week because they often have families that they want to see and be part of in a meaningful way (at least Apple pays a lot of their worker bees by the hours so they cannot complain too much about working extra hours for no compensation like the others companies expect).
Bottom line is this is just business, so don't take it personally. Companies like HPE are embracing this new paradigm which means they feel no remorse or regret when laying off in mass or continually. Anyone who says "people are our most valuable asset" is spewing BS. Everyone is just in it for themselves and those who are not likely already got whatever they needed so are working for the fun of it or for some cause.
Bottom line is this is just business. There is no company loyalty. There are no true friends at any company--everyone is always competing with each other to just have a job or get ahead. There is no such thing as long-term commitments, long-term employment, etc. This is just a mercenary industry, so don't delude yourself into thinking of it as anything more than that, since it is very clear that no company thinks of you as anything more than a hired hand that can be easily replaced / outsourced / off-shored / automated.
So get over it and embrace the new s--- because that is all that is left. Get what you can and get out. Oh, and if you want to shun products or services from HPE or others that you feel screwed you over, remember it is just business. Nothing personal; just business.