They live in a sweet constitutional loophole which gives them the right to set their own tax policies. Inevitably they're very different to those set by the British parliament for the mainland.
The British monarchy, which effectively administers them directly, through a small bureaucracy, apparently has no problem with this. Some of the population might have a problem with it, but it's never been allowed to become a political issue.
Much of the real - but unofficial - value of the UK economy comes from tax avoidance.
This partly explains why there's so much condescension here for manufacturing, software engineering, and start-ups: real entrepreneurs work in investment management, market trading, high-level deal-making and negotiation, and tax strategy.
They don't play with computers - that's something kids and engineers do.
http://www.pwc.com/gx/en/paying-taxes/pdf/pwc-paying-taxes-2...