AstraZeneca's Nexium could face generic competition much sooner than expected, and would-be investors should be wary, said brokerage firm Sanford C. Bernstein in an analyst note.