The markup for Apple hardware is really not big at all. They just don't have a budget option. If you compare macbooks to really any competing device the prices are similar (and the competing device will be much worse). Same situation when comparing iPhone to flagship Android. In fact, new iPhones are often cheaper than new flagship Android phones.
There was once a time where what you said is true, where a truly great Windows laptop could be had for half the price or less than a mac, and a flagship Android phone could be had for half the price or less than an iPhone, but that was in the past. Now, there is almost price parity.
There's a reason numerous governments and industries have switched over. I suspect you are vastly overestimating the complexity and trouble you would face in switching.