Canada, Mexico and China have vowed to retaliate after tariffs on goods entering the US from their countries came into effect.