Where migrant workers go, what sectors they serve and how many stay employed will shape whether productivity gains go beyond the most advanced sectors.