Disney has agreed to pay $10 million in civil penalties to settle claims over its data-collection practices with children, the U.S. Justice Department said Tuesday.