It's also easier to make this bet when the passenger version of the 767 is struggling for new orders because of the A330. Boeing had the 747 against nothing, the 777 winning and killing the A340, and the 767 losing to the A330. So Boeing made a better A330. That's why I don't see the 787 as such an insightful bet in terms of capacity (size, length, weight and range): it really is pretty close to the A330. And a modern A330 can pretty much do anything the 787 can do, albeit burning more fuel on the way. The real risk was in the development process and industrialization of the 787 though, which proved risky and costly.