The class action was private, not initiated by states.
There were many different lawsuits and fines over Cambridge Analytica.
$50 million settlement with California.
$100 million to SEC for misleading investors.
$5 billion in FTC fines.
Many different international fines.
$725 million in a private class action lawsuit.
$17 billion in a multi-state child and teen safety lawsuit, part of which is earmarked for Cambridge Analytica claims.
(You are probably confusing the last two).
Importantly all of these were paid. This $25 billion one is still just a press release. Local juries hand out such crazy rulings all the time (why wouldn’t they?) and it is always struck down or massively reduced by a higher court.