I think it depends more on the game you are playing than on the hand itself. I say this because deep play allows one line of play, and medium and short stack play other lines of play.
For example in cash games I like to play an aggressive hand when I'm in position, but in the meantime I play some apartments to diversify my line of play, but I never get into multway pots, but I don't play all-in immediately, I prefer to 3-bet, and maybe play a pot with a 4-bet, but I never want to get involved all in, I'm usually too far behind when it comes to all in, or at least I would be flipping with most of the players' pre-flop shove combo, and I would lose to another portion of hands that would play a 100bb deep pot all in. This is why I prefer to play AK actively, but not as effectively, in cash games, hands that form huge games make huge pots.
Well but now talking about tournaments and SnG, it's one of the sacred hands that even with 40bb basically almost nothing makes me not want to put all my chips in play, I'm rooting when I'm in the big vlind, for some pre-flop raise, and a call, so I can squeeze, and many times I'll be much further ahead than my opponent, because the short game, requires greater opening of the ranges. The even shorter game makes it much more preferable to go all in pre-flop, you know 25bb or less, you get excited when you see AK.
For me, I just don't see myself going all in with AK in the cash game, because I think it's more opportune to play the streets because I'm deep. While in tournaments I prefer to play very aggressive and forward.