The silicon purification uses loads of fluor based acid IIRC. But the cell in itself is mostly Si + some minute amount of other metals (layers and pads).
Lastly there's the resin and framing.
Lastly there's the resin and framing.
The side by products of this process are very quickly hydrolyzed to silica and hydrochloric acid, neither of which is something to worry about as a persistent pollutant.
The volumes are also small. Just a few hundred thousand tons of silicon are used every year for all electronics (PV and ICs combined).
But...(at least in the US), wafer manufacturing is highly regulated and focused on safe waste handling...
I think the dominant consumer of HF, industrially, is in petroleum refineries, where HF is used in alkylation units.