Using a random USB charger can be unsafe, even though the risk is minimal. Thankfully, you have ways to protect your devices.
Your laptop's USB-C ports look alike, but they might work very differently.