They don't trigger a taxable event for shareholders who continue to hold the shares. They (obviously) trigger a taxable event (and a more concentrated one) for the sellers of the shares which were bought back.
Yes, I realize that but it’s still a major problem.
The ultra wealthy never sell their shares for this reason. Instead they opt for taking out endless loans so they don’t pay taxes on their capital gains.