Shareholders can take out a loan for spending money that uses the shares as collateral.
The two main tax avoidance strategies would be people running and retiring overseas just before selling, or never selling and waiting for the cost basis to be reset upon their death.