The US chip giant faces fierce competition from local rivals and scrutiny from Chinese authorities.