The legal fees should be capped
Maybe.
Small guy stretches his budget and pays $10,000 in legal fees. Big company's legal budget is $10 million.
If the target of the lawsuit (your hypothetical company) was forced to spend $10 million to defend itself, then, yes, $10 million it will be. Unless, maybe, the judge will tell them, they didn't need to feed 10 lawyers black caviar. But it is entirely possible that the parties' legal costs will be in different orders of magnitude — that may still be perfectly legitimate.
Now, granted, you may not be automatically entitled to all of your legal costs upon winning. But you certainly ought to be entitled to something. Something substantial. Like, say, $10K for each felony allegation, that did not hold — and $5K for each such alleged misdemeanor.