Over 20 years ago. Now SpaceX and Tesla run on Linux.
Only because the Elders of Mars telepathically contacted Elon to tell him that colonists using accursed Windows would find little purchase on the windy plains of Vastitas Borealis, and their little colonies would end in the blue screen of death.