A knife attack in a supermarket in Oslo is being investigated as a possible act of terrorism, the head of the Norwegian police’s security service (PST) said on Friday.