Labor unions are embracing the construction of data centers as environmental concerns mount among many Americans.