How was Next a failure? 11 years from start to being acquired for 400M 1996 dollars is not "failing".
And speaking as a former NeRD (NeXT Registered Developer), it was definitely a flop. The computers sold only in a few niches, and they had to kill off the hardware entirely. The OS and the dev tools lasted longer, but they wouldn't have survived more than another few years.