Something like that happened to a Tesla, here.[1] The Tesla is the car in front in the left lane, not the one taking the pictures with a dashcam. There's a construction barrier that's inconsistent with the lane lines. The Tesla plowed into the barrier.
This shows why the Tesla approach isn't good enough. The vehicle is on a freeway, an supported environment for the old "Autopilot". Everything is going just fine. Until there's something unexpected the system can't handle, appearing fast enough that the driver couldn't take over in time.
Tesla is somewhere between Level 2 and Level 3. Good enough that the driver is tempted to tune out, not good enough that they can.
Holy crap that looks like a very basic failure. This is exactly the sort of thing that keeps me up, getting into an accident because of some stupid software bug. Fortunately the car didn't spin or he'd have side swiped the vehicle in the next lane.
If you look across the roof of the Tesla it totally failed to imitate the car in front of it too, that's a double fault, it had more than one indication the lane was changing direction.
Here is an article with a bit more info about that crash:
I drive through a construction zone once a week where the old lane shift lines and the new ones are close enough in quality to make following the lines instead of the traffic around you a very bad idea.
My Passat (2016) with lane assist falls into these traps all the time. Same with offramps. It can be a fight to keep it from jeering off. It is really nice on long drives though.