Isn't there still incentive because the data itself is valuable so attacks would continue?
I think the Bloomberg Odd Lots guy wrote a blog post on this: you could attempt to short the stock but a) this leaves a paper trail b) the market might not know about the breach or believe you if you post you’ve done it. IIRC some hackers have tried to tell companies that they are legally required to disclose the breach to their shareholders to force market movements.
Or do both i suppose, just because someone pays a ransome there is no garuntee the hacker destroys the data.