Each worker isn't much cheaper. My dad retired from GM in 2005, and the Toyota plants here in the US pay $1/hr less than he made. There is a decent discrepancy in health insurance, but not enough to totally justify the difference.
The key is what gibsonf1 pointed out. Each worker at Toyota is much more productive than each worker at GM (and most likely other companies).
They also benefit from a halo around them of 'superior quality'. I'm not entirely sure if a big quality difference actually still exists (it definitely did once), but in the minds of many, Toyota will always be the 'reliable choice' which allows them to charge more for their vehicles than GM can for it's equivalent.
It also didn't help that GM made ugly cars for years, and even today is only marginally improving. I sincerely hope the Volt actually happens as planned, both for nerdy reasons, and because it'd be nice if GM didn't blow a golden opportunity to save itself (and my dad's retirement).