The Ukraine war has inspired a defensive cyber effort that government officials and technology executives describe as unprecedented.