As far as I know, Steam (and others) can put whatever they want in their ToSes but this doesn't go over existing law. So if the law says you can launch a class action then the ToS is completely irrelevant.
Bell and Rogers have tried including a "no class action/no litigation" clause in their ToSes for some time, and the actions go forward anyway.