U.S.-based companies added millions of jobs abroad in the 2000s, while cutting 864,000 at home. (WSJ graphic)