They both are hybrids so don’t even fall under the same category as electric cars for most people.
The bmw website doesn’t even show options for 330e so that seems to be discontinued and for the 530e the electric range is 16 miles, so basically a luxury Prius.