Always a contender in CNBC's annual state competitiveness rankings, North Carolina finishes on top for the first time.