PingFang has moved, but it hasn't been removed entirely.
Regardless of whether you should use it, I discovered in the simulator runtime that it is now located at
/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/FontServices.framework/CorePrivate/PingFangUI.ttc
So I assume (I haven't checked) that it should be /System/Library/PrivateFrameworks/FontServices.framework/CorePrivate/PingFangUI.ttc on device.