Su-57 failed on stealth front, maintainability/serviceability front, lack of cutting edge avionics/technologies and bad engine when compared to western aircraft.
Chinese are shrewd businessman. They don't give anything for free. They don't give aids they give loans and even while giving loan they force recipient country to give contract to Chinese companies.