In the spec page of Apple 96W USB-C Power Adapter, Mac mini (2024) and iMac (24‑inch, M4, 2024) are listed as compatible devices:
Not sure whether this is a mistake.
96W USB-C Power Adapter
The 96W USB-C Power Adapter offers fast, efficient charging at home, in the office, or on the go. While this power adapter is compatible with any USB-C–enabled device, Apple recommends pairing it with your 16-inch MacBook Pro for optimal charging performance.
www.apple.com
Not sure whether this is a mistake.