But you’re right that comparing largely highway miles vs all miles isn’t completely fair. FSD on the other hand can be activated and used in most scenarios and has 3.2 million miles between accidents vs the US average of 500,000 miles. So still quite a bit safer but less so than autopilot.
As for autopilot deactivating right before an accident, if autopilot was active within 5 seconds of the accident it is still attributed to autopilot, not the human driver.