Three people have been hospitalised after an e-scooter battery sparked a house fire in Sydney's south.