Elon Musk, a billionaire ally of President Donald Trump, has steadily expanded his business footprint across Texas.