Alphabet Inc. will look to impress gadget lovers Wednesday with a new line of devices for the holiday shopping season, but the company’s event will also be important to determine if the money Google is spending to produce its own hardware and challenge Apple Inc.