One of my favorite little features of the M1 MacBook is that the charging cable is only connected by contact enforced by magnets so that there isn't even a jack that can be damaged. Pulling on the charging cable simply breaks the connection.
Sadly it's patented so no one else could implement in their laptop.