Fuel pumps in the tank are the standard world wide for fuel injected vehicles because a) electric pumps push well but suck at sucking fuel out of a tank, and b) the fuel itself cools the pump.
Before a tank runs completely dry, i.e. as soon as the motor is no longer immersed in fuel, the motor begins to heat because the fuel is no longer in contact cooling it. The motor will overheat and fail long before it's hot enough to ignite gasoline. Sparks in the fumes is a bigger worry, and that's not bloody likely with a brushless, spark free, motor.