No relation whatsoever. Sonic Drive-In is an American fast-food chain founded in the 1950s, and the name has nothing to do with Sega's hedgehog.
The overlap is pure coincidence, and it occasionally leads to some confused search results.