Amazon is facing charges by the Federal Trade Commission that it willingly allowed children to make millions of dollars in purchases inside apps without parental consent.