New autopilots in commercial airliners can do many things (follow GPS tracks or radio navigation waypoints, control engine throttle, line up and bring the airplane 50-100ft over the runway etc) but they never do collision avoidance, landings or terrain mapping. Airliners also have alarms for low altitude (most have radar altimeters) but they prompt the pilot for action, they're not supposed to avoid anything on their own. Apparently Tesla doesn't even do that.
[1] https://www.quora.com/Why-cant-airplane-landings-be-conducte...
[2] https://www.quora.com/How-often-are-airliners-landed-using-a...
[3] https://www.usatoday.com/story/travel/columnist/cox/2014/02/...
[4] https://www.airlinepilotforums.com/technical/65056-autoland-...