Rihanna has sparked a backlash after she wore a Ganesha pendant in a topless photoshoot.