"when we understand how the brain work" is doing a lot of heavy lifting here. We really aren't close at all to understanding how the brain works. Without that, we can't create any AI model that has even a passing understanding of context. An understanding of context would result in AI never spitting out complete nonsense, never being so far off in recognition that a mailbox is identified as a cat, etc. We're nowhere close to that. Modern neuroscience has been around for over 300 years at this point and we're not particularly close to understanding how the brain works. So I think it's a very reasonable thing to believe that the puzzle won't be cracked within our lifetimes, although it might be cracked further down the road.
100 years ago the technology we are using today is only witchcraft to those who poorly considered the question. Physics itself has not changed. Follow function and not form, and you can predict many things although what form they appear in is not clear. People thought of flying around to other countries first in bird-like wings then balloons. They weren't wrong in function, only form. People also thought of using "computing devices" even in ancient times but they thought it would be through large and complicated water levers and then later, through gears.
So pretending the future is completely unpredictable is just that, pretending.