MEXICO CITY Seeking to quell a social media campaign imploring Mexicans to boycott U.S. companies, Starbucks defended itself on Friday, saying it had invested millions in the country, created more than 7,000 jobs, and that its local unit is Mexican-owned.