This is not a joke. If the Beatles had been black, what would they have been called? Niggers.
(It’s suggesting that because the Beatles were white (like Elvis) they -particularly in America- were able to transcend prejudice of the essentially black music styles they’d appropriated.
If they’d been black no matter how successful they were they still would have been called ‘niggers’.)