Sega, without any ambiguity. Dr. Eggman belongs to the Sonic the Hedgehog series, and Sonic has been a Sega property from the very first game.
His appearances on Nintendo hardware over the years are the result of Sonic games being ported there, not a change of ownership.