This forced some apes to climb down the trees and depend on a diet of scavenging for meat, which happened to both increase brain size AND require improved intellect to survive, forcing the evolution of our hypertrophied symbolic brain.
Had this not happened however, other intelligent species could have filled the niche. There's no shortage of other intelligent species in our planet, not just other mammals but octopus and some birds. And then you get hive intelligence, which could equally be forced to evolve into a high problem-solving organism.
[0] Unless that episode of Voyager was right on the mark https://memory-alpha.fandom.com/wiki/Distant_Origin_(episode...
I suspect that any evolutionary environment will eventually create enough variety and instability that some generalists emerge, creating a reward for intelligence. The rise in intelligence from early water-bound life to later forms was likely all driven by more complex and diverse environments.