Ford used to own gas stations. They didn't totally leave the business until the 70's gas shortages, though they had been in decline since the 30s. History does tend to repeat itself, and there's nothing proprietary about electricity (there are adapters to go from one plug type to another). The US switch to using NACS has just started in the last couple months and will not be seen in most of the rest of the world, since Europe and much of Asia codified standards like CCS into law while Tesla was still trying to keep their tech private.
Smart money says Tesla will spin off the charging network (and solar stuff) into independent entities due to stagnate markets during the next recession and then devest entirely after their next major stock slump.