It works with most other compatible USB-C enabled smartphones, laptops, tablets, etc.
However, depending on the ability of the device and the cable, 45W might not be fully utilized.
Please see the compatibility with Motorola phones and the maximum charge speed:
Up to 45W- Motorola One Hyper
Up to 27W- Moto G7 Plus
Up to 15W- Moto Z family, Moto G6, G6 Plus, G7, G7 Power, G7 Optimo Maxx, G7 Supra, G Power, G8, G8 Plus, X4, Motorola One, One Power, One Vision, One Zoom
Up to 10W- Moto G7 Play, G7 Optimo, G8 Play, G Stylus, Motorola One Action, One Macro