Currently Autopilot does not handle these situations gracefully and is one of the many reasons it's incredibly important to pay attention at all times. Per the manual, it will also not stop for stationary objects at high speeds (see Tesla Autopilot Crashes and Causes for more).