Tesla Motors Inc. will make its first foray toward automated driving, joining luxury rivals in offering high-tech features, including one that can keep the car in its lane, according to a source familiar with the carmaker's plans.