Look at them as a solutions company and the first question to answer is: why is it fine for companies like Oracle, Microsoft, Adobe etc and any other software company to profit from closed software yet a company should be ostracized for it as soon as hardware becomes part of the deal?
Nvidia invested 15 years in developing and promoting a vast set of GPU compute libraries and tools. AMD has only paid lip service and to this day treats it as an ugly stepchild, they don't even bother anymore to support consumer architectures. Nvidia is IMO totally justified to reap the rewards of what they've created.