Expensive for whom? Class action lawsuits are typically handled on contingency. If the lawsuit fails, the lawyers eat the time cost, and if the lawsuit succeeds, they are paid out of the funds paid by the wrongdoer.