The way I see this deal is that either AVIC is behind this or the owners of AICC has gone bonkers. Maybe China is not interested in the AN-225 itself but want the tech transfer to improve future production and future designs.
Certainly they want the tech, regardless. However, there are several legitimate uses for this aircraft, including flying rockets and parts (e.g. CZ-5) to Hainan, flying aircraft components for large/jumbo aircraft around like Airbus does and the obvious military uses.
Its a smart move to buy something like this given the cost that would be incurred if china needed a superheavy aircraft and wanted to develop it from scratch.
The other thing that cannot be overlooked here is the political situation in Ukraine. I (my own opinion) is that the Ukraine is starting to sell what it can because it needs the cash but also out of pure spite to Russia.