Mexico had problem competing with china in apparel making 20 years ago https://www.fibre2fashion.com/industry-article/5050/mexican-textile-industry-a-report
for simple reason: Both mexican back then and present chinese wage are higher than those seamtress in vietnam&bangladesh.
China should concentrate on a)High value fibre making b)R&D on apparel making A.I.