Agencies that set and enforce vehicle safety performance standards (NHTSA, Transport Canada, the European Commission with national authorities, MLIT, MIIT and SAMR, MoRTH, MOLIT and others), buy cars to check compliance, and open the defect investigations that end in recalls.
Vehicle safety regulators are one player in the vehicle testing labs industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how vehicle safety regulators fit into vehicle testing labs