Dendritic cells can contribute to the development of autoimmune diseases by activating autoreactive T cells that target self-antigens in the body.