Except it doesn't. It uses the word "investment" 17 times in the announcement. If someone reads this as a charity pitch they're doing mental gymnastics.
Apple is not even doing the whole "Made in the USA" schtick, where companies imply they're taking patriotic pain for the good of the country. This is fully pitched as a competitive play. An investment to yield returns.