Though, Apple did eventually get taken to court for the book publisher pricing agreements:
https://en.m.wikipedia.org/wiki/United_States_v._Apple_Inc.
Reply on news.ycombinator.com