"If you are a foreigner working for a domestic startup, you simply aren’t allowed to have equity."
This can't be true since you can have equity in a company. Start-up or not. An IPO may be a different thing because a regular foreigner can't hold A-Shares. If (big if) he holds a Chinese green card then even this is allowed.