Starbucks Corp. is buying the rest of its East China joint venture in a $1.3 billion transaction, marking the biggest deal ever for a company that sees China as a huge growth opportunity.