People were frying their Switches using cheap 3rd party docks, and there is a very silly reason for this. Nintendo uses a very nonstandard USB-C Male plug on its dock, because they wanted it to have zero grip on the port. That way, you can effortlessly life the Switch from it’s dock. So the plug is more narrow than a normal USB C. Problem is, you are dealing with incredibly tight clearances on these pins, and the 3rd party manufacturers decided to attempt a copy of this Nintendo-proprietary plug. You can imagine what happens next. Pins that shall never touch, do indeed touch.
I bought the original Pixel, which I think was the debut phone for USB C, back in 2015, and this shit was a fucking mess. The spec is much more complicated than it was in the past, so there was a huge glut of bad USB A-C cables. Specifically, they shipped without the proper resistance in the charging circuit that would inform the phone if it was plugged into older low-power USB ports, so it would always try to pull 3A. Often times, this would fry the old USB port, but could also fry either or both devices. This site tells you if cables are actually compliant: https://usbccompliant.com/
As others have said, it’s less of a problem than in the past, but it still isn’t great.