Vladimir Putin and Kim Jong Un have signed a comprehensive strategic partnership in a bid to unite against the US.