From what I've read, is that China couldn't justify paying for full the production line start-up plus the price of Su-33 they were going to order. Hence they bought the prototype. I suppose China could pay a small fee to Sukhoi using their design, which shouldn't exceed the total price of buying...