I can see what you are doing there, but still, I don't think it is classy (Apple or any other company).
Microsoft usually (to name one) ask it's employee to donate and then donate accordingly as a 1:1 basis, wich I find is laudable (don't know if Apple does the same, if it does that's a nice thing to do to involve people)
Apple, in making its large donation public, is encouraging others to donate. To the extent some think making it public isn't classy, it would seem that Apple is okay with that consequence (of making its donation public) if it means increasing donations. In other words, it is doing what it thinks will be more helpful when it comes to responding to the devastation even if that means it will look bad in the eyes of some (e.g., you).
Also, Apple is currently matching its employees' charitable donations, up to $10,000 a year, two-to-one. And it's donating twice what it used to (which I think was $25 an hour) for each hour that its employees spend volunteering for charitable organizations.
There are other ways to disclose to your investors about donation, making it public is one of them , but not the only one, for sure s the one that gives you more "public attention".
How would a publicly-traded company disclose information to investors other than by making it public?
So do many other company, again there's nothing wrong in me thinking it is not classy to do so publicly, you can agree to disagree.
The point is, Apple doesn't go out of its way to disclose (e.g., the amount of) all of its donations. It isn't trying to get credit or favorable public attention every time it makes a donation. It discloses certain donations for, possibly among other reasons, the two reasons I mentioned - to encourage others to donate and because shareholders should be made aware of such large donations.