maybe it's evil, but isn't this just the equivalent of "the ends justify the means"? by not helping the ai, you're "killing" thousands of humans each day who could be saved by this superhuman.
AND
it's not even enough that you donate a hundred dollars, or a thousand. the ai will still torture you because if you know you might be tortured for not doing enough, you will try even harder, which means the only way to avoid punishment is to drop everything instantly and start slaving.
however, you wouldn't be punished for picking the wrong ai to develop. this is because the knowledge that you might be tortured won't cause you to pick the right ai -- you can't, no matter how hard you try. so the machine wouldn't benefit from doing that, and just waste energy.