Companie often put in enourmas amount of effort into "only paying it's required taxes" with a vast network of otherwise economically pointelss subsidiary companies that money is shuttled through to take advantage of locally negotiated tax deals to reduce tax liability in third party jurisdictions.
The breadth of complexity and the depth of thought that goes into these corporate structures transcends and notion of "simply doing business"