States, municipalities and the federal government have spent billions to draw jobs and prosperity to stagnant rural areas. But they haven't yet figured out how to hitch this vast swath of the country to the tech-heavy economy that is flourishing in America's cities.