Turkey accused the separatist Kurdish group PKK of being behind a deadly attack on a state-owned defense manufacturer near Ankara.