Rights are human created concept. As such, We fought the nature, And other animals, For out rights. To decide our rigthts. As such, Same principle applies to an AI. If he can force us to admit his rights, Then it will have rights. If not, Then no.

It really depends on how the AI is programmed, Or how close it is to be human if you will.
does it feel happiness, Sadness, Pain, Empathy and most importantly humour? (laughing comes from the intelligence of an organism that can understand the irony of a situation, Which is for now proper to human beings). If so then AI should have at least have basic human rights.

They aren't humans. Just because they pretend to have human emotions or act like humans doesn't mean they are humans. We need to remember that they're robots and nothing more, hence the ARTIFICIAL intelligence.

Of course not! I don’t care how “intelligent” an a robot is programmed, electronic devices are not humans. Human rights may be based off morals and societal acceptance which can be subjective, but AI robots are simply just devices that anyone can program to their liking.

Since they are created by humans to perform a specific task, they should not have any human traits in their programming (e.g feeling emotions), thus giving human rights to a machine wouldn't make sense.

Keyword: HUMAN.
An AI's intelligence or "ability" to process emotions due to the programming within itself is irrelevant. It's, Another keyword, Artificial. Unnatural. AI is a tool humans created, Nothing more.