A double Premier League winner with Chelsea has been forced to retire from football prematurely after collapsing in training due to a heart condition.