Back when North Carolina was still a textile-manufacturing giant, Kannapolis was the quintessential company town. Right down to its nickname, “city of looms.” Like a lot of other mill towns, the jobs left. Now, though, Kannapolis is reinventing itself as a research center.