Rise of the robots is sparking an investment boom