More like going after McDonald's/Visa because their franchisees/PornHub are letting people deal drugs/child porn in the building/website (because it brings paying customers/ad revenue into their place of business) and McDonald's/Visa knew about it...
(I don't necessarily agree with the allegation, but that is the allegation.)
No, this is different because in your example you can't show McDonald's has an increase in revenue due to those drug dealers selling in their parking lots.
There's no clear way to show McDonald's encourages the use of its parking lot for drug dealings in order to generate foot traffic to their restaurants. What you're saying is conjecture. It may be true, but not relevant legally as McDonald's essentially has plausible deniability until they address it with any written, internal or external, policy.
I'm going to go out on a limb and claim that 100% of McDonalds parking lots have been used for drug activity. At least once a week. 20% of them, probably once per day. And McDonalds is aware of this.