The Dodge Viper is probably a better example, as it's a totally custom chassis, body, etc.
The GT500 still shares a LOT with a production Mustang, and al the economies of scale that imparts. It's also producded in very high quantities, 5000+ yearly. They're making money or they wouldn't buiild that many.
I've heard it explained that halo cars help create brand loyalty with an instinctual response similar to "My dad can beat up your dad" fights on the schoolyard.
Even better example is Bugatti Veyron, fastest production car in the world. Some analysts say that company is losing over $6m on every car sold, despite $2m price tag. Only 400 cars were sold to date.