A man who set fire to a gas-laden truck in the center of Melbourne and fatally stabbed one person before he was shot by police was inspired by Islamic State but did not have direct links with the group, Australian police said on Saturday.