Apple avoids US taxes, and it's legal