Our governments are deeply disincentivized to cleanup these inefficiencies because it means higher unemployment.
This is one of the reasons I'm a strong supporting of an actual UBI + universal healthcare. If people's lives aren't destroyed and driven to death by poverty if they don't have a job, then there won't be as much moral and political hazard to eliminating bullshit jobs in favor a system that works better for all of us.