UE knows which precoding was used for construction of that beam. Then data is retrieved from DM-RS demodulation.
Yes, to generate narrow beams you need more antennas though. So real “beams” are particularly visible in case of UE communicating on FR2 (mmWave bands).