Just because item 1 is cheaper than item 2 doesn't mean item 2 is overpriced.
...so, it at least seems plausible to me that Apple may be setting the prices for their PCs and "post-PC" products more correctly than most of their competitors. Even if that's true, the Apple Tax could still be a thing -- but the premium may be magnified by the "lose money on every unit and make it up in volume" tactic so many PC makers seem to have had through the 2000s.
Also note that not all parts that seem comparable are. For some parts like LCD panels that have more variance in quality, Apple has deals with suppliers to get the best panels while Dell and others have to buy the ones that don't hit quite as stringent QC.
Both of these are why looking at margins alone doesn't give you a complete picture.
Not just hating here either. I've owned numerous Apple machines, and still use a Macbook (with Ubuntu).
In that respect many apple products are very overpriced for many people.
I also would not say that "great software" does not cost that much. It costs Apple billions of dollars annually to create that software.
My concern with requiring a specific hardware solution was that it leaves you utterly at the mercy of Apple; if you get rejected by their program (which they do quite capriciously with apps) then you're completely sunk by having committed to an Apple-specific expense. Allowing a software security solution lets people justify a good product by appealing to Apple without being quite as beholden to their opaque decision making.
http://appleinsider.com/articles/15/07/22/homekit-market-hel...
However, getting the fundamentals correct definitely includes using high level encryption protocols, and we've seen what happens with devices that do not do so.