The move marks one of the largest foreign investments in American semiconductor manufacturing and is expected to strengthen the US position in the global chip industry.