The chip maker—which counts Apple, Samsung Electronics and Tesla among its customers—expects lower sales, as demand for legacy semiconductors remains subdued.