>Apple is #4 in laptop sales. Lenovo, Dell and HP each have at least as much volume.

True but they divide their sales among several models. Gaming models, 2-in-1s, 13" to 17" and so on. Apple not only has fewer models they often keep the same case design between generations which also benefits economies of scale.