If it was an individual suing Epic, and they agreed to go away in return for some shiny digital magic beans, you wouldn't see anything wrong with that. What's different if a million customers settle for it?
Customers can opt out of the class action, or start their own competing one. What would be a real problem is if other customers opted out, sued Epic individually, didn't settle, and the judge used the "payout" from the previous settlement to decide what a fair compensation would be. That hasn't happened here.