The longest range electric vehicle, at 380 miles EPA, remains Hyundai's fuel cell SUV.
Their own diagram is very clear about this matter: motor + fuel cell + hydrogen + battery.
https://m.hyundaiusa.com/images/vehicles/pages/vlp/2019/nexo...
Tesla is pure electric. You charge the battery itself, directly.