Ukraine's spy agency is claiming responsibility for the killing of a top Russian general in Moscow.