An advertisement published online last week by Clicks, a South African pharmacy and beauty supply chain, prompted outrage on social media and accusations of racism.