Three new books explore the fraught relationships between tech companies and the U.S. government through close looks at Jeff Bezos’ Amazon and Elon Musk’s X.