Bill Gates wrote rival Steve Jobs a letter as he was dying. He kept it by his bed.