"TM" is the abbreviation of "trade mark" in English. The Chinese meaning of "trade mark" is "commercial mark". The text (graphic) of "TM" on the product means it is used as a "trademark" , which is to tell consumers that this is the trademark of this product or service. It can be a registered trademark that has been approved by the National Trademark Office, or it can be a trademark that has not applied for registration.
When such products are put on the market, if "TM" is a registered trademark, its right to use will be protected by national law. No other individual or organization can use it without authorization. If "TM" is an unregistered trademark, you should pay attention to whether it is the same as or similar to the registered trademark to prevent infringement of others!