The Strictly Come Dancing presenter and The Traitors host attended an investiture ceremony with the King at Windsor Castle.