There's a huge difference between the theoretical ability to learn something and actually having access to education. I completely agree that we're living at a time when anyone with a decent laptop and internet connection has access to the basic required materials, but learning something from scratch with minimal guidance is difficult, and the huge amount of mythologizing around programming has made it even worse.
Bootcamps, at least Dev Bootcamp, focus heavily on the mental/emotional aspect of this stuff as much as the technical material itself, and do a lot to build the confidence that really is required for many people.
And yeah, I do think most companies are primarily incentivized by profits, but that doesn't mean they can't provide a genuine service at the same time.
Full disclaimer, I used to work for Udacity and was "trying to make a buck".