Elsevier said it will investigate an allegation that one of its journals published an article that was ghostwritten by a drug company.