Ozzy Osbourne and Black Sabbath thrilled tens of thousands of fans in an emotional farewell gig in Birmingham following a day packed with tribute sets from a star-studded lineup.