An Iranian who spied for US and Israeli intelligence on slain Revolutionary Guards commander Qassem Soleimani has been sentenced to death, Iran said on Tuesday, adding the case was not linked to Soleimani's killing earlier this year.