Daimler has pledged to investigate its supply chain to ensure child labour is not being used to power its electric vehicles.