I clean and re-lube my road bike when it gets dirty or starts making noise (literally once every 3-4 months), and it gets ridden 3-5 days a week. I clean and re-lube my mountain bike slightly more frequently because it gets far dirtier and gets ridden far harder - usually if it starts making noises, or anything feels (too) gritty or it's just too dirty. Once a month it usually gets a quick clean.
All in all, it's a fairly minor amount of time, money and energy.
As for component wear, I'm going to disagree with the OP - my friends and I have found that better components _tend_ to last longer, up until the point of diminishing returns (race level componentry). For example SRAM GX would be preferable over NX/SX for quality and lifetime.
Personally I budget about €200/year for my €1200 road bike for 2000 km/year. I store it indoors, ride it 20% in the rain, don't take great care of it otherwise, and take it to the shop for anything more than changing tubes/tyres.