Countries around the world are investing billions in onshoring semiconductor fabs. Is this an early sign of wider deglobalizing?