On the 2021 (Model 3), the name can be changed in the car by clicking on the "Software" option within the main menu. You'll then see the current name in blue. If you touch it, you'll see a pop-up window within which you'll be allowed to change the car's name.