This is mostly a US only thing, outside of it there are very few places where this would even be an option.
Stock is literal ownership and it eases “ownership problems” proportionate to the meaningfulness of the expected value of the stock to the employeee-owner. It’s a powerful tool for increasing teamwork.