A counter to Roko’s basilisk

I’m certain that everyone on here has probably heard of Roko’s basilisk. I’m not going to explain it, and if you don’t already know, you probably don’t want to. But I had an idea. What if someone were to devote their life to creating a super-intelligent AI similar to Roko’s basilisk, but it’s one function is to prevent the creation of the basilisk? Tell me if this could possibly save people.