Seemingly invincible Samsung Electronics appears set to log record annual profit this year as exploding use of data in mobile devices and the “memory supercycle” help it surmount the jailing of its de facto leader and sidestep losses from its fire-prone Galaxy Note 7s.