China barred Tesla vehicles from entering certain government compounds in 2021 over security concerns regarding vehicle cameras, before lifting the restriction in 2024.