A children's hospital in hurricane-battered Puerto Rico has had its power restored thanks to electric-carmaker Tesla.

The Hospital del Nino in San Juan, which has at least 35 critically ill patients, has been in dire need of electricity ever since the US territory's energy infrastructure was deciminated by Hurricane Maria last month.

"Hospital del Niño is first of many solar+storage projects going live. Grateful to support the recovery of Puerto Rico with Ricardo Rossello," said Tesla, which also sells batteries to consumers to combine with rooftop solar systems.

Mr Rossello thanked the company for a "humanitarian gesture", adding this "could be a model to follow for public or private entities that provide critical services to the public".

The hospital's director, Maria Lopez, said the hospital had been struggling to give the required treatment to some of its patients because of the lack of power.