I have a slate roof now, and pay a few hundred a year for replacement of broken skates. For historical-commission reasons, I’m much more likely to do Tesla-style tiles than anything else... and electricity here is 22¢/kWh.
Lifespan is kind of a leading question as many buildings simply are not going to last. Still, the high end for slate is very high. "There is a chapel in England, built during the 8th century, which has one of the oldest slate roofs known. After 1,200 years of service, the moss-covered roof is still in good condition, demonstrating the permanence of the material."
In the UK most tiles are made of clay which are cheap and pretty durable. My neighbourhood is Victorian and I guarantee some of the houses here still have their original tiles. Some towns have slate roofs (e.g. the Lake District), but it's more expensive and a local aesthetic/tradition, more than anything else.
Virtually nobody uses shingle roofs. To give an idea of the historic distribution, which is still pretty accurate: http://www.buildingconservation.com/articles/claytile/pic_12...
Replacement prices, for example: https://local.which.co.uk/advice/cost-price-information-roof...
An entire slate roof on a big house is around £12k max. I'm surprised that the difference isn't that much compared to clay, but I imagine most of the cost is labour.