The category of PE firms you're talking about buy companies that are deeply troubled. Generally due to the management's unwillingness to accept reality and make change, the company is heading towards oblivion one way or another.
Perhaps surprisingly, the vast majority of takeover targets wind up as net job creators on a 5-10 year time horizons. That's despite the fact that they do usually start by divesting assets that don't make sense and laying off non-productive employees. But divested assets aren't generally killed – they are usually sold to somebody else who often does something better with it.
Also, companies conduct massive downsizing and rationalization all the time when in distress, and not only when they are taken over by a "corporate raider".
In the private markets, these actors are definitely distasteful. They do cleanup work that feels bad, and they often get rich doing it. But they also serve a necessary role in the markets.
Companies that are egregiously misusing capital and resources are a drag on the economy. It's a bad thing for there to be a bunch of zombie companies holding onto assets that could be used in better ways.
A more generous framing would be something like a home flipper. They buy properties that are a mess, clean it up real good, throw out the old stuff for recycling, install some modern appliances, and sell it to somebody else.
One of my laments is that there is no automatic equivalent force in the government. Agencies grow and grow, projects grow and grow, all totally decoupled from whether they are achieving any progress whatsoever towards the agency's mission.
I'm not defending the specific actions of this administration (for which I simply don't know enough), but it is refreshing to see the government rummaging through its mess and cutting stuff that is irrational, corrupt, and not serving the mission.