Microsoft and Apple are set to set out to rewrite the operating system on the same platform. The tech giants are set for a merger that…