Check your math. If Apple made $100 on both a $400 item and an $800 item, the profit margin on the cheaper item would be twice that on the more expensive item.
There's nothing wrong with my math. It's still profit margin (25%) times revenue ($400) equals profit ($100). You're confusing a different concept with what I'm writing about.
25% x $400 = $100