Scientists Are Building Machines That Can Think, Test, Fail and Try Again