Sort of.
For most MacBook users, a chromebook will be more sensible choice.
And iphones sell because fashion.
iOS is locked down, and Mac app Store is also a candy shop. Because there are stupid people to spend money on shit mobile games, apple makes quite a lot of money.
And they do lot of deceitful marketing. Apple software is getting shit year by year.
Most people buy apple because "brand", and get accustomed to it and don't like slightest change.