North Korea is warning that the release of a new American comedy about a plot to assassinate leader Kim Jong-un would be an "act of war."