President Obama attends APEC summit in Beijing