You’re all looking at this the wrong way.
It’s not that auto glass could be welded directly to the body structure, though it could be for supercars and the like.
It’s that the panes can be welded to frames that can then be attached to the body structure. If it’s even advantageous... the glue they use now works well…