Isn't that just really shrewd investing on Amazon's end though? Just because you've identified the win-win doesn't mean it's illegal? In fact it's what investments should look like: companies that invest in other companies for the synergies.
It would be illegal if Anthropic can't sell those AWS credits on the open market which I'm thinking they can't. You're equating this to a stock swap but that is not the case.
It seems they could have made the same investment without the misrepresentation - or are you trying to say the misrepresentation itself is shrewd?
rubuquity’s comment said that it should be illegal; not that it was illegal. In order to close a loop hole or an unintended consequence one must first be aware of its existence. I don’t know enough about the topic but it does seem wrong, at a first glance, for this sort of accounting to be legal.