Foxconn invests US$40 million in Pennsylvania to tap research, talent