Depends entirely on the scale, task, and on software being optimized for the hardware. Both can do work the other falls over on.
A business can drop half a million on a single server loaded up with Nvidia cards, but they probably shouldn't do that just because someone heard Nvidia was 'great at AI' or the like.