I'm not sure why human cognition is the exception in a world of machines that can emulate anything. My grandfather would never have believed that we have cars that drive themselves. Many baby boomers I work with are still wowed by the basic AI of Siri/GNow/Cortana, or even google search. Common sense and philosophical musings just isn't enough to figure out if something is feasible.
Thinking isn't that hard of a nut to crack, imho. Enough of a ruleset/branch logic is thinking. We don't need to emulate a person perfectly, the same way we don't have self-driving cars losing their tempers or tailgating people out of spite. We just need to distill the intelligence we want and voila, you have AI.
AI isn't just a HAL-like character. Its a lot of things. In fact, it surrounds us. There's expert systems, fuzzy logic, etc controlling pretty much the entirety of our technological lives. I have no idea what drugs Musk is on, but its dangerous for him to piss on AI publically. I imagine, from a practical pov, spreading FUD about AI makes sense for him economically. For someone who wants human spaceflight, talking down about robots and AI is a means to an end. Now the public doesn't want a cheap-ish robot mission on Mars with some guy in Houston wearing an Oculus-like headset. Or autonomous robots on the moon. They want a meatbag on the surface, for their own emotional and philosophical needs, price be dammed. "Price be damned" in spaceflight makes Musk a very happy camper, considering he's going to get a lion's share of that money.
There's something really neo-luddite about human spaceflight. Its like we can't admit to ourselves that machines, AI, etc just are a better fit for it. Anyone else notice that about three months ago there's been endless anti-AI sentiment in the press? Where is this stuff coming from? Who is funding it? I really think Musk and others see it as a major threat to their companies and social capital and are trying to change the narrative to suit them and their goals. I don't think we typically appreciate how one wealthy person or organization can easily astroturf the web and the press.
Personally, I think the more feasible futurist path is actually taking the environment seriously, pushing the path to peace politically, trying to bring in a post-scarcity world via cheap replication, and using AI the same way we use all tools -- for our benefit. Fleeing to some other planet or moon without fixing life on Earth first guarantees we bring our terrible politics and baggage to this new destination. Let's fix things here first and then worry about moving to Mars. "Fixing things" more than likely involves strong AI implementations in various parts of our lives.