Three-time world champion and former world record-holder Jack Bobridge has announced his retirement from professional cycling aged 27 because of rheumatoid arthritis.