My bike is nearly 10,000 miles old.
I clean my chain every 100 miles (once every week or two), or if I ride on wet roads.
I replace my chain every 1500 miles.
I replace my cassette every 4500 miles, every 3 chains.
Those numbers are rough. I wouldn't replace something that didn't need replaced. But my mechanic was surprised I was able to get that many miles out of my cassette with the type of riding I do (all weather, sometimes on gravel).
My rim lasted 8000 miles.
My tires lasted 4000 miles. (I'm on my 3rd set.) I think I've replaced my cables twice as well.
It does depend on what kind of conditions you ride in, how frequently you clean it, and the cassette lasts longer if you replace your chain on time.
2009 Trek 7.2FX WSD, brooks Champion Flyer S, commuter bike