The solidbody electrics I build usually end up sounding decent acoustically, although I don't build guitars specifically with acoustic tone in mind.
One of them is almost as loud and resonant as a flattop. It sounds good electrically, or at least I like it.
The one exception sounds mediocre acoustically, very thin and tinny, even with .011 strings and tuned down a half step. Plugged in, it makes me sound like Slash. It also Creedence, Derek and the Dominoes and countr-ee musikk.
Go figure.
That is comparing apples to oranges. The Ferrari analogy given was quite good :D
Even though acoustic guitar sounds 'better' played acoustically versus an electric played acoustically, luthiers strive for a good acoustic tone on electric guitars too. After all, all the pickups do are pick up that and add their own tonality on them. Better acoustic tone tends to translate to a better electric tone.
Good acoustic tone requires good quality wood and other good materials, of course.