Not to sound like an ass, cos it's an interesting question, but a slightly flawed one methinks
Which hand is 'better' depends on a multitude of variables; position, 1st in, 3betting or cold calling etc. etc...
Obviously if we're purely talking a pre-flop, all in, heads up situation with TT vs AKs, you're better off holding TT as it's a slight favourite. And maybe that stands true for some players who take them to the flop with more betting to be done (good hand/bet/playstyle readers and whatnot).
But for me, I find middle pairs much more difficult to play post flop. Without a low board it's very easy to be pushed off the pot by heavy betting as we all know that people love to take broadways to the flop. So any picture card board is automatically a scary one. Similarly, with a low board, betting doesn't seem to achieve much as most worse hands will fold and any A/K/Q/J on the turn or river will bee your bonnet
Whereas AK is a far easier hand to make decisions with (imo at least). If you hit, you hit fairly big, if you miss, you've still got the best unmade hand. You're not so afraid to barrel off a feeler or call certain bets as your 6 outs are strong ones and if you're feeling unsure it's an easy hand to let go of.