The investment will help finance a new factory near Warsaw and a technology center in the United States.