Over the past decade, firms ranging from tech giants to financial companies have relocated headquarters or expanded operations in states such as Texas, Florida and North Carolina.