These companies aren't doing this because they're taking a moral stance, they're doing it because they can offer these benefits and look like the good guys while simultaneously continuing to give money to both parties.
Check out a (probably incomplete) list of companies offering abortion travel expenses here: https://www.google.com/amp/s/amp.cnn.com/cnn/2022/06/24/tech/companies-abortion-reaction/index.html
And check out political donation history here: Opensecrets.org