Los Angeles City Council President Nury Martinez has stepped down after a recording emerged of her making racist and offensive comments about fellow council members.