From Old Czech nenie, from a supposed earlier *nie, itself a contraction of ne- + je, by adding another negative prefix to make the negative more distinct.
https://en.wiktionary.org/wiki/není