Tesla Inc. has gotten approval from the city of Los Angeles to build an all-night diner and drive-in theater where…