The campaign was colourful and hotly contested, partly because of Schlossberg’s star power as the social-media-savvy grandson of the late President John F Kennedy, but also because the race became an expensive proxy fight among artificial intelligence interests.