what would likely mostly obsolete the humanoid robot idea would be an automated engineer, who is presented with the constraints of a task and then develops a machine that does that task most efficiently and effectively, and then the machine is produced and delivered to you within the shortest possible time frame.
a kind of physical automated compiler.
hella disruptive, isn't it? :D