All of these components can form through nonbiological means. For example, amino acids[0] and nucleobases[2] can be found in interstellar gas clouds.[0] Lipid membranes form simply because of their polar properties.[1]
[0] https://physicsworld.com/a/amino-acid-detected-in-space/