But in this case, Uber/Lyft were breaking workers' unwaivable legal protections.
It's analogous to saying that robbery at gunpoint isn't "cheating", because both sides agree to the terms. Technically it's not "cheating", but that's not the aspect most people care about.