A US army veteran who drove a truck into a crowd of New Year's Day revellers had pledged allegiance to Islamic State but acted alone in the attack that killed at least 14 people, the FBI says.