There is a very fundamental difference. The Tesla autopilot is a mere driving assist system. Like with plain cruise control, the driver is still fully in charge and needs to pay enough attention to take over at any moment. All accidents happened because drivers were not paying attention at all.
With the Boeing, the MCAS system put the 737 in a flight state which trained pilots couldn't recover from.