PepsiCo has apologised for its latest Pepsi advert after the campaign was attacked for appearing to make light of protest marches.