Naval programs true, the failures/setbacks in the aerospace sector for China are the best known publiclyNot in the Chinese naval sector. At least not recently. The Chinese are way more incremental when developing ships. They also test things exhaustively on land based test rigs before anything is ever put onto a ship.
At best you might claim the Type 051B and such ships from three decades ago were failures in that they resulted in a single ship being built. But back then the program was seen as an insurance in case the gas turbine destroyers were a failure. The steam turbines they developed for propulsion also ended up being used in the carrier program. Since the gas turbine destroyer program was a success the steam turbine powered destroyer ship designs were cancelled. This is totally different from how US naval shipbuilding has been done.
That being said we can say that a program like 051B or even follow ons like 052B or 052C would ever peek at the light of day in the US? The weapon system of 052C is an orphan and is basically a limited production proof of capability. The post Cold War US MIC would never privately shoulder this risk/cost without the chance of a massive contract payday and the government simply no longer does that kind of design work, having long outsourced it to the contractors.
Whether the boat is considered a failure or not, it still demonstrates that ability to accept something that is below expectations in some way.