Spaniens konkurrensmyndighet (CNMC) har inlett en utredning av företaget Apples villkor för utvecklare av mobilappar som säljs på App Store.