You may brick your macbook as the switch charger doesn’t follow the spec. This is exactly the problem.
The switch console, however, has a non-compliant USB port, which can be damaged when hooked up to a standard USB-PD charger; the pins can get mechanically shorted. Blame Nintendo for that one.
I could hook a lightning cable up to a car battery, and you'd blame the connector.
I’ve charged my MacBook with all sorts of USB-C chargers with no issues, including from USB power banks (I was never able to charge my laptop from a standard portable external battery before usb-c!).