Moth or beetle larva?

Moth or beetle larva?

Observation - Moth or beetle larva? - UK and Ireland. Description: Approx 4cm long.

Approx 4cm long.