Respondents in a Pew survey see Beijing primarily as an economic rival but worry about its friendship with Moscow.