I confirm you can get to sub 24kg with the M600 and 840Wh battery. Even with a coil shock my bike is just over 23Kg including a big 750lbs/in coil, like you I have the Mezzer fork. Here are some key areas where I looked to save weight:
I saved quite a bit of weight with Carbonal wheelset, carbon rims save a bit compared to Alu, and Sapim CX Ray spokes are really strong & light (but expensive), wheelset only 1630g with DT Swiss 350 hubs.
SRAM XD 'machined from solid' rear cassette save quite a bit compared to Shimano equivalents, but again more expensive.
Magura MT7 brakes, their carbotecture levers are nice & light, paired with shimano Ice tech rotors which are mostly aluminium, saves a bit more weight
And of course I use dirty cheap Chinese carbon bars

But if I was doing the build again, I wouldn't waste time with all the lightweight stuff, M600 is so powerful I doubt you would tell much difference between components.