Elon Musk fired Tesla’s head of operations in North America and Europe, amid declining sales in both regions and the electric vehicle brand’s falling popularity, according to people familiar with the matter.