The below was my summary of other answers.
I've now had my bike for 10 years and can answer from experience -- my bike is a "Kona Dr. Dew" which cost $700-$800 (when new in 2010) -- which I ride at most about 7,000 km per year.
It's aluminium with hydraulic disk brakes and maintenance is minimal:
- I have aftermarket "Marathon Plus" tires, which never flat and want replacing after 5 years (though it's been 5 years since they were last replaced and they don't seem to need it again yet, maybe the first set wore more quickly for environmental reasons, e.g. standing outside in summer sunlight or winter sub-zero).
- The chain and brake pads seem to need replacing once or twice a year -- more specifically about every 3000 km. Or the brake pads wear less quickly if you're not cycling on hills, or in city traffic (frequent braking due to traffic lights etc). After installing the new chain they check the derailleurs' adjustment.
- They often replace the cassette when they replace the chain, but I recently bought a chain gauge, so I'll see whether replacing the chain as soon as it needs it will make the cassette last longer. I think they also replaced the triple chainrings once.
- They replaced the bottom bracket after about 30,000 km, when the crankarms began to wobble a bit. The bike shop recommended a good (higher-end than the original) second-hand bottom bracket which they had in stock, so far so good.
- The only maintenance I do myself is top up the tire pressure when I can feel they're not tip-top, and add lube to the chain occasionally.
That's all! They never serviced the wheels, nor the hydraulic fluid in the brake lines.
So it's been a real pleasure. Maintenance is fairly regular, but only to replace "consumables" i.e. the chain and brake pads.
Perhaps its frame being aluminium (not steel or carbon), and no suspension, and hydraulic disk brakes, and robust (rather than "aero") 700x32 wheels, help make it low-maintenance.
This phrase from the original answer below seems quite wrong in practice (so I want to correct it):
Cost of thrice-yearly service, and new parts (pads, chain, and cassette) might be $600/year (or more if you don't do your own weekly chain cleaning, and monthly brake and gear adjustments).
Instead iirc the LBS charges $50 or $100 to replace the chain and the maybe the brake pads, so the yearly cost seems more like a bit more than $100.