So really you don't get to choose outright what stats you want to apply from the start like you would in D2 or TL2. I would go as far as saying that Diablo 2 and Torchlight 2 offer more customization overall and just as important, there's more distinction between classes in terms of exclusive skills and class design.
TL2 happens to have the same issue D2 had - if you're a certain class, the majority of the time you will put stats in your main stat and then vitality, with perhaps spreading to other stats if there's any sort of soft-cap/diminishing returns or you're looking to equip a certain piece with a particular set of stat requirements. If you're playing an Embermage, chances are you are going to need plenty of mana and magic damage, plus life to stay alive - so anything but Focus and Vitality (at least at first) aren't thing you're going to choose.
PoE follows a similar path, but doesn't lock you in based on initial class choice - if you choose Witch and decide to play it like a Witch, with lots of spells, you'll probably follow a similar path as above - heavy mana and magic damage investment, though you might choose energy shield over health/vitality for survivability.
However, you can quickly shift to using a different weapon (bow Witches were or are popular, I believe) and choose to invest in passives there (things that would normally appear strictly on gear in a game like TL2) such as attack speed or casting speed, critical chance or critical damage, armor, evasion, movement speed, etc...
That's all before you look at Skill Gems (there are over 50 last time I checked), which are essentially the same as skill choices in Tl2. Choose skills, improve certain ones and leave others at lower levels based on your build, obtain gear that supports those choices - sound familiar? Of course, PoE throws in Support Gems, and as before with the passives you're not locked into a particular set based on initial class choice.
TL2 does arguably does have better class diversity, in that each class has it's own distinct style, and there are a good number of skills to choose from within each class that adds additional diversity...
But strictly in terms of build diversity, and thus just how much you can customize a character across passives, skill gems, and gear choices? Path of Exile outshines both D2 and TL2.