Yeah, I was lucky that I had the money (many years of living frugally and saving any spare money after being broke for a long, long time following my divorce has left me with a decent pot).
I've been thinking about getting an eBike for about 4 or 5 years, so it's taken me a lot of time to decide to spend that much. However, when you look at the prices of many non-eBikes, they're about the same price for a semi-decent one.
The other thing to look at when you consider the bike cost is the price of the battery, motor, drive system in the BB and even the controller on the bars. A spare battery alone is over £300, the charger is over £100, the control unit on the handlebars is £100, and I dread to think what the motor and BB units would each cost. Even buying a plastic cover for the battery hole in the frame for days you wanted to ride without the battery and motor will set you back £70 - £100). Altogether, they'll be much more expensive than my current road bike was when I got it in 2008 (it was £550 - a Giant SCR2, now a Defy frame with SCR2 components after the frame cracked within warranty and the SCR frame was no longer made).
Chuck in Sram Apex 1 hyraulic disc brakes and levers where the shifters alone are around £180 each, and it all soon adds up. Frame, bars, stem, carbon fork, through-axle disc-compatible wheekset, tyres, saddle etc - none of them cheap either.