Serena Williams limped out of Wimbledon in tears after her latest bid for a record-equalling 24th Grand Slam singles crown ended in injury.