Apple is a Software company, You just have to buy their Hardware first to use it.
Apple lately has been too focused, or too worried about the Design of the product and lost sight of its main direction.
To more accurately phase it, Apple is an Ecosystem company. You use its Software, Hardware and Services across all ( most ) segment.
I'd argue Mac Pro should be the one of those segment, ( representing 1% of the total Mac Sales, and more like 0.1% of Apple's total revenue ) where they should make it impossible for average consumer to come up with a similar spec Machine with similar price. It doesn't mean Apple is making a loss, it is more likely Apple is just making very little profits on it.
The Apple now, or the Mac Ecosystem now is very different to 20 years ago. iPhone manage to pull in Lots of new developers and Pros.