I won't say the movie is anti-black. Hancock looked like a black man but was actually some sort of god. And the reason they couldn't be together had nothing to do with race but with the nature of their powers. Hancock's alcoholism? Not related to him been black but to him having no memory of his past and his inability to have sex without killing women.
PS: Still waiting for the sequel. Don't think it will ever come though.