McCartney closes out the anniversary episode how he did a surprise show in New York earlier this week