Popular diabetes and obesity drugs could also help to protect the kidneys, a new study has suggested.