I study AI and in my curriculum was a 4 week non-stop course about 'filosophy and AI'. There was a lot of high-brow bantering involved, but most of the time we were simply discussing 'can machines think' (or even: 'can artificial intelligence exist'). After 4 weeks, we did not reach a conclusion. Many of my peers where at one side of the fence, many on the other.
It mostly comes down to the definitions of 'thinking' and 'intelligence' you're maintaining. Under some definitions, machines can think, under others, they cannot.