I too dislike megacorps, but you could say the same thing about a business being robbed - they most likely could have done something to prevent it but police will still respond and not charge them for it.
Many of these companies that get hacked haven't even done the bare minimum, so it's not even remotely comparable to a robbery imo.