If it's okay for a black man to play James Bond...
... then why is not okay for a white woman to play Cleopatra?
Bond is fictional is not an valid answer. The character was established as white in the novels in the 1950's and that has been followed in the films.
Cleopatra is a historical person, but no undisputable evidence of her race exists.