Apple has the money, talent and resources to build a highly automated factory in the U.S. that turns out products that are potentially cost competitive with those it now makes in China.