SAN FRANCISCO—Tesla Inc. opened a factory to produce battery manufacturing equipment in the Canadian city of Markham, Ontario, the city said on Friday, as the electric carmaker ramps up the production of cheaper, higher-range 4680 battery cells. In 2019, the U.S. electric carmaker acquired Canada-based Hibar, which manufactures pumps used in fast-speed battery assembly that…