A house fire in Cardiff which left seven people in hospital was caused by an e-scooter, the fire service has confirmed.