I would imagine that it was set up so that it is rented from Musk (instead of owning* outright), but it's Musk so who knows.
* I know it's still not owned owned but there is still a legal difference between X Corp directly renting x.com (from Verisign) versus leasing x.com by a different owner (maybe Musk, maybe a holding corp) to X Corp.