Republicans fear a backlash against the White House agenda of helping big tech on artificial intelligence could undermine support at this year’s elections.