Scientists have discovered a way to turn air into green hydrogen fuel and expect to make the technology available to the public in less than three years.