Coronavirus infections slow in China as Apple warns of iPhone shortages