Toyota is recalling 30,000 vehicles over a software issue that could cause the cars to shut down when driven at high speeds.