The invention that turned our phones into cameras was originally developed by NASA for space travel