It's only piracy if others do it, isn't it.
Good luck trying to sue the Chinese military for contract breach of installing software on more computers than specified...
Further, note that this is an instance of piracy versus IP theft that then directly competes with the original source, as a coordinated playbook with government support to advance local industries. It's pretty much apples & oranges.
As almost all companies that relied on their productivity to get ahead. China does blatantly copy tech in some cases. Companies accepted that risk.
Of course it is good for China to copy the technology, it is not that other nations are exempt from industrial espionage. That they do it so openly is due to the leverage they have.