Investors are pouring billions into companies pitching humanoid robots, but functional versions are decades away.