A trademark can be registered for one or more classes of goods/services [1]. The APPLE M1 mark [2], for example, is registered across multiple US classes (21, 23, 26, 36, and 38). I did not immediately find a registration for US M2-based marks by either BMW or Apple. Maybe that's coming soon. Or I didn't input the right incantation into TESS [3].