People who live in apartment complexes can have storage spaces that are appropriate for a gas can (basement, shed, etc).
Finding space for a solar battery installation is a bit harder.
Not to mention: your Cybertruck isn't going to power your 7th floor apartment. You can probably figure out why.