They're usually not "overpriced" when one controls for weight, battery life, and size.
If you use these metrics (ie, compare Apple computers to non-Apple computers on Apple terms), you can close the price gap. But if you compare on hardware stats, Apple themselves would admit their machines cost more than equivalent machines.