They're not saying Africa isn't diverse, they're saying if SF is diverse, then Oakland is REALLY diverse (aka Africa)
Of course that isn't the issue where an entire continent is compared to a small American town...
Edit: Oh I see, of course I have never visited Oakland so I do not understand what is said between the lines. Unless the implication was a small town is as diverse as a continent in some kind of hyperbole.