Many years ago the 3M company created a magnetic tape for the lane lines on roads and a device to detect those for automobiles, along with a gizmo that would vibrate the driver's seat on the side the vehicle was getting too close to crossing the lane lines.
That could help prevent these kinds of incidents, but cameras trying to detect painted lane lines have many obvious fail points and one of them is keeping the car in it's lane. This incident proves that once again.
You cannot tell a human "this car can drive itself but you need to be ready to take control at all times" because that's a clear oxymoron. It either works, or it doesn't, and if it doesn't it's potentially deadly, and it only takes a second to become deadly, and humans cannot react to that failure 100% of the time. That's been proven too many times already.