You're right that challenging legislature can improve it, but it would be naive to assume that Toyota has the goal of improving it for anyone/anything other than their bottom line. They are solely driven by their profit motive, and so it is safe to assume they are never participating in the legislative process in good faith, i.e. for the betterment of the public and the world. Instead they are only participating in the legislative process with the expectation that they can gain additional power and profit.
Once we take that into consideration, it's hard to see their pushback against electric vehicles in a good light.