Japan prime minister Shinzo Abe has made an appearance during the Closing Ceremony of the Rio Olympics, disguised as Super Mario.