How ancient fungi may have laid the crucial groundwork for complex life millions of years ago