The biggest tech companies spent much of the last four years in Washington playing defense: Answering to threats of regulation and repeatedly being called before congressional committees; serving as former President Donald Trump's foil on social media moderation; and protesting his approach to immigration and tariffs.