Apple settled a complaint with the Federal Trade Commission over in-app purchases made by young children without the consent of their parents.