Often a single company has both of these situations within the same company. For example in my last company the admin staff, especially the ones that were there as contract help, had very regular 8-9 hour days. However the engineers frequently worked the stereotypical hours that you are referring to.
Also in another former company in Japan, which was a wholly owned subsidiary of an American company, the I.T. department which consisted of many non-Japanese had a work-hard but flexible kind of setup. I frequently worked 12 hour days but more in the style you see in California tech companies now, not the obligatory thing you're referring to. And if I had a reason to leave earlier there was no problem. However the finance department which was almost all Japanese had a very Japanese long-hour work ethic that seemed to be practically mandatory.