The Wikidata Query service appears to retain data for many sitelinks which are not attached to articles.
Additionally, many such "orphaned" sitelinks are still shown as containing badges. (For examples of item-less sitelinks with badges, see the results of https://w.wiki/4rxZ .)