Kuwait has emerged as a leading mediator to end a diplomatic crisis after several countries in the Gulf region cut diplomatic ties with Qatar.