Low, or more usually no, profit margins; their high priced hardware and services are very profitable. And they also rake in very big bucks from the App Store:
Apple very regularly issues timely software updates for Mac, iPhone, Watch, TV, Photos at no charge. Windows, Android, etc. doesn’t come close on this regard. This costs Apple a lot of money.