Jim Carrey works for the sonic movies for the same reason Tim Curry worked for the Muppet movie. 
He's a sonic character. 
Every other human character is SO normal, and that's a good thing
Robotnik is an egotistical madman you "almost" can't take seriously despite his danger