Tesla says crashed vehicle had been on autopilot prior to accident