Apple says it will appeal against Brazil's ban on the sale of iPhones that do not come with adapters.