A man found with stab wounds inside a car at a petrol station is believed to have been attacked along a seafront before being driven there.