SHANGHAI — The daily Web habits of a typical 18-year-old college student named Li Yufei show why American Internet companies, one after another, have had trouble penetrating what is now the world’s most wired nation.