Trump-endorsed Republican Mark Robinson has lost his race for North Carolina governor to Democratic Attorney General Josh Stein.