The US pried the textile and locomotives industries from the UK, check the history of Samuel Slater[1]. Same happened for Japan under Meiji restoration. India and Brazil do the same for pharmaceutical patents, because they're too poor to afford paying them.
Stealing IP will happen, no matter what treaties and governments try to do. For poor countries it is a path they just don't have the luxury of giving up.
[1] https://en.wikipedia.org/wiki/Samuel_Slater
Edit: over-patriotic Americans seem to think this is just about them and call my argument whataboutism. It isn't both. I am stressing the fact that protectionism and stealing IP is a path almost every industrialized nation took. Even the UK did protectionism against India textiles to help their beginning textile industry.
The industrialized countries are trying to close the gates they used to get into their rich garden. My point is that right or wrong, moral or not, it simply won't work.