During the trial it was revealed that McDonald’s knew that heating their coffee to this temperature would be dangerous, but they did it anyways because it would save them money. When you serve coffee that is too hot to drink, it will take much longer for a person to drink their coffee, which means that McDonald’s will not have to give out as many free refills of coffee. This policy by the fast food chain is the reason the jury awarded $2.7 million dollars in punitive damages in the McDonald's hot coffee case. Punitive damages are meant to punish the defendant for their inappropriate business practice.
This has little to do with capitalism, capitalism doesn't dictate that the more powerful smear the weaker into submission and autocracies around the world show that it doesn't need capitalism for the powerful to suppress the weak. This was a failure of the justice system. They could've ordered McDonalds to spend as much money as they spent on smearing the lady to fully admit guilt and apologize. It is the justice system that failed.