i am running AXS and just replaced the cassette at 600 miles, same issue, slipping in 10th gear (2 up from smallest), I am sure the wear started when I first got the bike and the 'b' screw setting was not near enough which def caused the issue coupled with the fact that this is a gear I use often.
I am coming from years and years of analogue mtbs and infrequently wore out a cassette as I would change the chain etc well before, I think the key difference here is the torque the rider plus motor can deliver, likely there is no way this amount of wear would slip with just rider power, so for me it's a different way to ride and be aware you can prob create slip and wear if you even infrequently mash big gears. As someone else said keep the cadence up, 80 is the optimal for the motor. Saying that I am sure my cassette would have been fine with the correct 'b' gap.
I have measured the chain and its not even 0.5 wear, its like new, same for the chainring, its literally that one sprocket which has gone. I should add i am pretty meticulous about cleaning and lubricating the drive chain, its def not a lack of care, as i said the chain is like new.
I had a hell of a job finding a new chain and cassette, finally managed to get them but paid through the nose, so will be much more conscious of gear, torque and 'b' setting.
I also looked into getting a 36T chainring, that would have solved the problem and moved the popular gear up the block, however everything i have read is that the rail wont take a 36T as its already close to the chain stay, this is a right pain, a 36 would literally remove any possible issues and i never use the 52T sprocket.
I really hope someone finds a way to fit a 36T without some sort of spacing hack that puts extra load on the motor shaft etc