A knife attack in a supermarket in Oslo on Thursday is being investigated as “terror-related”, the head of the Norwegian police security service (PST) said on Friday.