A sharp fall in car and computer production weighed on the UK’s economic expansion.