Differential pricing schemes are the primary way Corporations avoid corporate income taxes. I remember reading an article by an old Africa hand where he quoted the manager of an international corporation being exasperated with him and saying "You think I'm actually trying to make money here? This is all about taxes."

In theory overpaying for modules produced by your subsidiary, or overpricing IP, in a low tax country is illegal, at least in the US, but so much of that is subjective it's difficult for tax authorities to actually do anything unless the numbers are eggregious.