Berkshire halves Apple stake, boosts cash to $277 billion as it gets ‘defensive’