South Yorkshire’s mayor has taken the decision to bring buses back under public control.