Apple Inc. has accused the Competition Commission of India of exceeding its powers by seeking its financial data in an antitrust case related to the iPhone app market, as the company challenges India’s penalty framework in court.