Power-grid operators are asking tech companies to supply their own electricity—or go dark at times—but many are pushing back.