First: Focus on increasing access to education and skill development, which itself will increasingly be delivered via technology.
Second: Let markets work ( this means voluntary contracts and free trade) so that capital and labor can rapidly reallocate to create new fields and jobs.
Third: Create and sustain a vigorous social safety net so that people are not stranded and unable to provide for their families. The loop closes as rapid technological productivity improvement and resulting economic growth make it easy to pay for the safety net.