Tesla has filed a lawsuit against the California DMV in the ongoing battle around Autopilot.