KKR has acquired a majority stake in Spanish digital education specialist Master Distancia (MasterD).