Arm raises nearly $5 billion for its IPO, but the chipmaker’s investments in China raise some concern.