As the 2024 presidential race entered its final stretch, the nation’s richest tech leaders gravitated toward Trump’s side.