can't. There's a federal law from 1928 (I kid you not) that says no state can impair the ability of parties to agree to arbitration. The fiction is that clicking on a terms-of-service button is "consent" to all the terms therein, including arbitration and class action waivers.
California for years said such things were unenforceable but the US Supreme Court in 2011 struck it down. (AT&T Mobility v. Concepcion, 563 U.S. 333 (2011))