To be fair the thing bought by China was a license/ownership to use the Flanker airframe to make their own fork in the Flanker family.ALH/Dhruv is a death trap.
The delusion in India regarding Technology Transfer is that they have an expectation that once they get blueprints/technical assistance, they will automatically become experts and basically make any aircraft or aircraft engine they want. It is the similar to the delusion that Americans have towards China, that everything is copied/reverse engineered just because they bought something or hacked some computers.
Didn't India have a more generous deal with Su-30MKI vs. China's Flankers? China never had any technical assistance with the Al-31, but India had parts production set up. Russia did not expect China to produce Flankers domestically as soon as they did. The fact that China could master the production of the Flanker and perform subsequent upgrades/modifications (including variants that have no Russian counterparts) shows a clear leap in technical and industrial capabilities relative to India which decades later can still only produce "about half" of the parts of the Su-30MKI domestically.
I have no insider knowlege, but logically the Chinese enterprises are simply better organized and thus able to actually absorb the fundamentals of aircraft design and manufacture. With the opening up and declassification of past history, we see that China had attempted many aircraft designs that failed in various stages due to industrial immaturity, the cancellation of these projects allowed resources to be reallocated more efficiently. Meanwhile, Tejas and Kaveri have been plodding along for 40 years. They are blaming GE for non-delivery of engines, but the deal was only signed in 2021 for the engines! This is for a plane that supposedly has operational clearance in 2011.
So Russia absolutely did expect more to be made. It didn't come with much ToT because the idea was for China to put its own stuff on it.
Later China did get other Flanker variants for opfor evaluation etc. In accordance with sale agreements, China did not start producing those.