A man arrested over a truck attack in Stockholm that killed four people had shown sympathies to extremist groups, including ISIS, Swedish police said Sunday.