The Department of Justice thinks Apple has violated an antitrust law, accusing the tech giant of making it harder for consumers to switch software and hardware and even stifling innovation.