Oxford professor Bent Flyvbjerg and his team studied more than 16,000 projects—from skyscrapers to high-speed rails to Oscar-winning films—to learn the secrets of their success, and some failures.