Belgian police said they shot and seriously injured a man who attacked them with a knife after he was found sleeping rough near a center for asylum seekers in Brussels on Monday.