The cost of the machine isn't just raw materials and assembly labor. They have to figure in development costs, and of course the investors want to be paid also. But even if development costs are $1 million as they use to tell us, that is $200 on each machine over a run of 5k machines. I do not know what Stern figures for their sales projections on a new title, but you can scale up or down from there. You can add another couple hundred per machine so the investors get their pound of flesh.
That being said, $5799 is too much for my blood when it comes to what I see Stern putting out these days. You can usually find them for $5200 if you call around, last time I called around. Even at that...its a bit too much. My sweet spot is $4500-$4800. I have no real evidence to back up that number, but that price range just feels right for when we get in a machine.
I think the good times are coming to an end soon, and the economy is going to contract a fair amount in the next 12-24 months. Stern is best equipped to weather the storm, but its probably going to be painful to watch. Enjoy it while you can.