"Past performance is not a predictor of future results". The gravy train might keep going for as much as another decade but, as more and more people are flooding into web development every year, at some point demand is going to be saturated and then ...
There are also way more web jobs than embedded though, but you're right that another .com bubble will be bad for web devs (especially juniors, the seniors should do fine).