Bolt ‘the greatest’ bows out with nine golds after relay win