Apple has agreed to compensate the US economy for its overseas production of iPhones and iPads with fresh investments of up ...