Proper taxis in Chinese cities have a company name on the door, a number on the roof light, and a meter. Ride-hailing apps are just as common and show the price before you go.
"Free" or very cheap tours offered outside stations and at tourist sights often end at shops selling jade, tea or silk at many times the real price, and the van may not leave until somebody buys something.
If you ever feel trapped or threatened, the police number in China is 110. Share your location with a friend when you travel.