In many countries the tax avoidance goes because it is not actually enforced. The tax man does not comb accounting books, question transactions that have no business purpose apart from lowering or avoiding tax. This is because they run a lot of government infrastructure and know the skeletons in the closet, so tax man doesn't dare. Then you have the political power of the US - nobody wants to enrage the orange man who can throw a fit and slap tariffs merely for wanting the right amount of tax to be paid.
Incompetent, corrupt, cowardly government should be engaged. Write letters to your members of parliament, tax man, do freedom of information requests to expose the inaction and shame them into doing something.
Google is a tiger and does what tigers do.