Chinese villages are transforming from retirement destinations into centers for attracting entrepreneurs and tech talent.