The four-time NBA champ made a surprise appearance as the Giants visited with the 2022 AL MVP