The social media and rocket companies are based in California, which the billionaire criticized for its recent transgender legislation.