Question: do totem pokemon run out of pp?
Answer: Yes, also your opponents do have PP. This means they will use Struggle if they run out their PP. Several people on Gamefaqs have seen a Legendary Pokemon hitting himself with Struggle after a long battle.