Warning of “serious consequences” if the United States retaliates against it, North Korea on Saturday insisted that it was not behind a damaging cyberattack on Sony Pictures, and proposed a joint investigation with Washington to identify the hackers.