The global market for humanoid robots could be worth $38 billion by 2035, according to Goldman Sachs estimates, with Chinese and American firms leading the race.