Intelegence is clearly adaptive when you consider humans have the widest habitat range of any multicellular organism on the planet. When you consider people where thriving in Alaska at the end of the last ice age the idea that climate change or industrial pollution is going to do us in is overblown. A full scale nuclear exchange may doom modern civilization but modern civilization showed up fairly quickly after modern humans evolved. The only real man made threat would be some sort of perfect disease designed to kill everyone an even a that is likely to fail.
We clever primates rose to dominance out of the ashes of 75% of the species on the planet. It seems entirely possible that we never would have achieved this sort of reach if not for the K/T event.
65 million years is a long time even on evolutionary terms. Without K/T you would still have the dinosaur to bird transision because it's an useful nich to be able to fly. mammals evolved with dinosaurs and things may have followed a similar path even without K/T. However, Dinosaurs could have easily followed the same path as humans by filling the same ecological notch of squirls, then spider monkeys thus gaining thumbs to efficently climb with increased body weight. After that increased body weight and brain capacity are useful and suddenly your using tools.
PS: Birds have limited brains because of weight issues but their neurons are just as evolved and capable as primate neurons.