Apple M4 's Advantages
Higher specification of memory (7500 vs 6400)
Larger memory bandwidth (120GB/s vs 102.4GB/s)
Higher base frequency (4.41GHz vs 2.9GHz)
Lower TDP (22W vs 55W)
Intel Core Ultra 5 235HX 's Advantages
Released 8 months late
Newer PCIe version (5 vs 4.0)