States are spending rural health dollars on tech startups, betting that untested companies will succeed where doctors have vanished and hospitals have collapsed.