It may well be you dont need to replace the whole cassette, just the 2 small sprockets that it slips in.
Shimano Sprocket for XT CS-M8000 11-speed
With a new chain it should all work again and works out quite cheap. 10 speed chain should be changed at .75 wear, a 11 or 12 speed chain, around...