Danny Devito as Shrek