A human making a TAS isn't playing the same game. They're playing a version with slow motion, rewind, memory inspection, etc.
And a computer performing a TAS isn't playing the game at all.
So many cheating scandals boil down to splicing, which is again not playing the same game.
Tools that don't hack the game are very often allowed and openly used.