For years, many companies refused to measure the economic power of Black and brown consumers. Now they’re following the money.