A magnetic breakaway USB-C connector has been designed to protect laptop ports from damage and prevent laptops from being pulled to the floor. The accessory features a strong neodymium magnet that keeps the parts together when in use, but automatically disconnects if there's any pressure. It is compatible with all devices, including smartphones, tablets, power banks, docks, and MacBooks.
Source: https://www.zdnet.com/article/this-tiny-usb-c-accessory-has-a-game-changing-magnetic-feature-and-its-30-off/