Look at your AP paper carefully and you will find the expiration date on it. This AP expiration date was determined by USCIS officer who approved your AP when you filed the I-131, not decided by the immigration officer at the port of entry when you came back to US from China.