Sweden’s Prime Minister says security agencies are investigating what motivated a man in his 20s to attack eight people with an axe in a town south of Stockholm.