Apple is learning the hard way that tax avoidance is bad for business