Silicon Valley companies are increasingly lobbying and making donations to the House and Senate Armed Services Committees.