The Silicon Valley dream of building robots that can perform tasks on par with humans is attracting renewed attention and investment.