To be fair, what burned Apple was designing inadequate cooling solutions - the GPU is going to run the temperature it's going to run. Blaming it, is like choosing to jump off a cliff, and blaming Gravity for what follows.
But you're right, the difficulty of designing an entire architecture to supply a niche of the business, it's almost as if they should build a lower cost machine that can still fit a discreet, slot-based GPU to widen it's appeal and amortise the costs, or else stick with Xeons.
Better yet, they could get out of the workstation business entirely, and licence macOS to HP for $1000/seat.