Samsung is making less money because they're pumping far more money in R&D and their phones are reasonable priced for the technology you get. Don't forget that more then half of the components Apple is using in their iPhones are actually from Samsung.
Also Samsung is making their own camera's, ram, screens while iPhone is glued together with nothing Apple except the A9/10. That's why Apple making that huge profits. When you dive into this matter, there is nothing to be proud of that huge profits and it's a shame they don't give their customers the latest and the greatest with those pricing. I think iPhone 7 will under deliver. It might be faster... But since it's not real multitasking it's subjective... I don't care if my phone is tens of seconds faster. I care about camera quality, screen, overall quality and price. If Apple doesn't make their phones cheaper, they'll lose lots of share. And with less market share third party companies will focus less and less on Apple with their own no compatible cables etc.