If Tesla intended to exit the Supercharger business (i.e. the charging service, not making the DCFC hardware), then a sane CEO would sell it as a going concern, including the people to run it, as they have the institutional knowledge, corporate history, and expertise to keep it running.
In all the M&As I’ve been involved in - and that’s been a few - the buyer insists on all the key people (at a minimum) of the target company being part of the deal - otherwise it is simply too difficult to keep the business running, and providing business continuity would be impossible.
After deal completion, there will be an integration and transition period where the new business is integrated with the buyer’s current business. Some people might be retained for 1+ years to integrate the new business, and progressively overlapping roles are transitioned to a single role, etc. Then the redundancies are done.
In some simpler deals, headcount change might be worked out as part of the deal. CVs of all the people will be requested, their role/function, reporting lines etc and a restructure might be worked out prior to completion to minimise uncertainty at the time the deal is announced.
But I’ve never been involved in a deal where no-one from the target business is retained. Getting rid of all the people before a deal would be value destructive and would substantially reduce the offer price. Hence, it’s not what a sane CEO would do.