Tesla has admitted that its auto pilot feature when one of its cars crashed on Sunday.