They lose money on those $200 a month subscriptions, but e.g Anthropic won't let you use the sub outside of Claude Code, so for anything that would use their API, $200 gets you less usage than one 5-hour session of that subscription.
Which doesn't stop them from losing a bunch of money to training though