The details are secret. It very well could be wasted GPU time but Anthropic could have made a killer offering as well.
I'm just speculating, but a particularly killer offering Elon wouldnt be able to refuse would be if Anthropic agreed to give them some training data / technology.
Billions in revenue just before your IPO isn't a bad deal either.