Record $5.35 billion loss for Sharp shows danger of a heavy bet on Apple