Short answer
KNX is a mature wired standard designed for whole-home control in villas and larger buildings; Matter is an emerging cross-vendor application layer running over Wi-Fi and Thread that focuses on device interoperability. They solve different problems and can coexist: KNX for the core bus, Matter for consumer devices bridged into it.
