Legendary musician and activist Hugh Masekela, who had a career spanning more than five decades, has died aged 78.