I think you’re thinking of Xiaomi, Louis Rossman did a video assuming they were doing Apple-style serialization but all it was doing was blocking installation of self-driving if the headlights weren’t standard. It wasn’t DRMing brake pads or preventing buying headlights from a junkyard, there was a functional reason.
The second one is more like what the original razed 17th century mosque looked like. Deng was the one who gave orders to open fire in Shadian, he’s not good guy liberal here. Mao’s strategy was to yell at people to be atheist. Deng’s strategy was a religious red light district. Keep it alienated from secular society, make the mosques look like they were air-dropped from Saudi Arabia instead of having been there for 500 years, and give people the choice to be religious or Chinese but not both.
Starting before Xi China realized that wasn’t working, especially in Xinjiang, so the new strategy was to integrate. That means less of Deng’s “laugh at this weird foreign religion” architecture and more of “respect China’s history of patriots who are Chinese first and Muslim second.”