It's the end of the road for Tesla's long-running electric sedan and SUV. The automaker plans to make Optimus robots in their Fremont factory space.