Apple’s Big Spending Plan to Challenge Netflix Takes Shape