In an idealized market, of course, manufacturing capacity would ramp up with demand, but that's because price does, too. In reality, while the market price will go up enough for scalpers to play arbitrage, the producer doesn't capture this surplus and has no incentive to increase quantity supplied.
You almost always want to undershoot.
It would have worked like this for some period of time after the announcement but before the official release dates Apple would sell you a numbered product at a multiple of the announced retail price, the earlier the date, the higher the multiple. So the very first iThingy would go for say $100,000 and the next batch might go for $50,000 each, and the third batch would be priced at $25,000 and so on. This would let them practice almost perfect price discrimination; most customers would pay what the product was worth to them...
There are of course very good reasons Apple does not do this.
Or are they trying to create an image of scarcity and desirability?
Once you factor in risks like that, selling a few models at an extreme markup doesn't seem quite as attractive.
By the way, it may be rational for companies to let this happen, since mass production facilities cost a lot of money to set up, and they have to aim at the longer term demand instead of the spike at the beginning.