Tanzania’s President Samia Suluhu Hassan has won a controversial election with nearly 98% of the vote, extending her rule for another five years after days of violent unrest and allegations of fraud.