He had a choice in his hands with privileged information, then he chose the Russian side. This declarations are just justification to wash his hands, he is team Putin all the way, always has been. He has been seen partying with Russian oligarchs. The reason he bought SpaceX was because his original idea of buying dismantled ICBMs from his rusky arms dealer pals was too incredibly stupid to pull off, and it was easier to do it by way of an aerospace company.
Starlink service was bought by Ukraine to provide internet access to civilians and the military. Technically it was provided by the US because Musk offered to, for free initially, though he later pedalled back to charge inordinate amounts of money. Which the US and UA agreed to pay anyway. Because single companies monopolizing entire control to fundamental services is a huge issue. War time or not. He is profiteering and unfortunately owns the only company that can provide this specific kind of service. But in strategic matters, he will always go to bat for his BFF Vova.