I had to have the tile roof on my 1923 house replaced due to a massive hail storm (in roughly 2006). The house's footprint is about 1000 square feet, so not entirely sure of the actual roof area (probably about 1200 sq/ft), but the bill for removal of the old roof, some repairs to the sheathing, and replacement with new tiles was about $55,000 - materials (Ludowici tiles) and labor.
The solar roof quote for our roof from the Telsa website was about $48,000. So, in my case it would have been competitive.
My new tile roof has a 75 year warranty, btw.
If I were to have switched to slate or terra cotta or glass solar tiles I'd have to tear down the roof and rebuild it because normal houses in the US are not designed to hold that sort of weight, it requires a stronger roof structure, and sometimes stronger walls to hold the heavier roof. Possibly the rest of the structure would have to be reinforced as well. Doing this correctly requires a consultation with a licensed structural engineer. That sort of roof rebuild would cost from $20,000 - $50,000 depending on the scope needed according to the engineer, and that's before adding the roofing materials.
Many homes, even ones they're building now, are not designed to support anything more than a few layers of standard asphalt shingles.
BTW, it's ridiculous that we're talking "down" to asphalt shingles now because of this. Some of those come with 50+-year warranties now...
I looked at getting a metal roof, and standing seam was going to cost about $16k.
Edited to add: The cost of living is cheap where I am.
Same. There seems to be a subset of HackerNews who thinks that most homeowners can pay $50k for a roof and $35k for a car. It's cool high-end stuff, but certainly is not mainstream.
[1]https://www.usatoday.com/story/money/cars/2015/05/04/new-car...