Corporations that do this look at their customer demographics and if their demographics support BLM then so do they. They will reflect their customer base.
They're not effecting any change in this way. The change has already been done. They're just riding on its coat tails.