The Maxima doesn't have a frunk, it has an ICE that fills the space. The Ariya has an electric motor/inverter that fills the space. What effort was put into eliminating the frunk other than failing to optimize the motor/inverter format? That's a lack of effort.
Thats design effort, just like how Tesla shrunk the RWD frunk to be the same size as AWD frunk. That was intentional and took effort too.
For better or worse, the car companies who sell to the demographic that includes people with difficult parking (school parents and most of world's mega cities) prefer the car look of a short box nose, and no tail.