Donald Trump has defended Nvidia CEO Jensen Huang as the chipmaker investigates foreign intelligence allegations amid denials from China.