Thousands bid farewell to boxing legend Ali