Welcome to the community, @BaDWerewolf.
Try this:
# update layout (dimensions)
fig.update_layout(
#scene = dict(aspectmode='cube'),
height=800,
width=800
)
# update aspectmode for all scenes
fig.for_each_scene(lambda x: x.update({'aspectmode': 'cube'}))