The Silicon Valley tech giant pledged its 'largest-ever spend commitment' after Trump pushed companies to shift their manufacturing back home.