Write tax laws that are clear, simple, automatable and enforced. Then people will pay tax.
Complicated tax laws beget complicated tax dodges. At this point no one in the UK or US or many other countries is able to answer a simple question like "Has this company paid the amount of tax we intended?" It's all gray areas, and it's all your fault, not the foreign companies'.