The enemies certainly gain TP based on how much damage they take... if you do a move that devastates an enemy it will have enough TP to use its ability several times and at low health, it certainly will.
For some enemies this can be REALLY annoying, such as with Cactuars and with some (like Dodos) you don't even really care much. That should be addressed.