1. A machine learning apparatus that learns a condition associated with a predicted life of a motor, the machine learning apparatus comprising: a state observation unit that observes a state variable composed from at least one of output data of a sensor that detects an operation state of the motor and data relating to presence or absence of a failure in the motor; an actual life data acquisition unit that acquires data relating to an actual life of the motor; and a learning unit that learns the condition associated with the predicted life of the motor in accordance with a training data set created based on a combination of the state variable and the actual life.