The tech giant was accused of overcharging consumers through unlawful restrictions on the distribution of apps and unnecessary fees for in-app transactions.