CNBC's 20th annual state business rankings just upended conventional wisdom about which state economy leads the country, and the runner-up is pulling in more foreign investment than anyone else on the list while quietly carrying one of the biggest economic vulnerabilities in the nation.