The frunk could pop open while driving or keep a person trapped inside, thanks to buggy software.