But who will enforce this requirement? Only pension funds and other large shareholders have any (and often impractical) leverage over the board C-suite. Wall-street shareholders demand faster growth until they themselves can exit out. They don't care about the business or the services or the employees. They want a high growth return, year-over-year until their own investment carry continues to exist.
At a minimum, if corporation laws were modified such that every laid off employee must be issued 1 year worth of shares as a golden parachute, the incentives will all get aligned very quickly and employees will not be abruptly thrown away.
By definition, one returns cash, the other doesn’t.
The stock buyback also prevents market price discovery because of an artificial price floor.
The buyback is also a subject to buyback tax, transaction fee at the broker, and the benefits of the buyback are not captured by the long term holders, only by short term holders, e.g. insiders, who often sell into the buyback guaranteeing a price floor and effectively an execution price.