Nintendo isn’t getting a cent from any of this commercial activity.
On Apple Music or Spotify if I search for Mario OST I get a bunch of third party MIDI renderings of various quality.