Yeah, Apple's butterfly keyboard was a failure. Otherwise, they'd have never finally abandoned the design and went back to scissor switches. On top of this, them abandoning the design, they'll also leave those owners to deal with the problems after the warranties and extended warranties expire. The purpose of this lawsuit isn't just about it being a lawsuit to sue Apple for the sake of it like you'll read some morons spouting off about. It's to ensure that Apple must continue providing support, but better than this, has to provide extended warranties on these keyboards. Not much different than the NVIDIA GPU solder problem that occurred a few years ago. Most likely they'll lose this one since there has already been a precedence of a previous ruling for the failing hardware which required them to cover losses to the consumer.
Apple fanboys and cultists can piss off about this. It's legitimate.
In the end this is a defective-as-designed part that Apple knew about long before they bothered to do anything about it. IMHO Apple should, for the sake of maintaining what remains of their once-stellar reputation, treat this like an automotive recall for a defective-as-designed part. Don't replace it with another defective part, replace it with a re-designed part that will function normally (or replace the entire computer with a newer one which does not have the perpetually-failing part). Apple has the money to make this right, so why not do so? It would go a long way towards mending bridges.