A motorcyclist was taken to hospital with potentially serious injuries after a crash with a car.