Well, we - more than one job - wrote all required components ourselves, because of the risks involved by using third party.
As an external consultant, I also agree with you and I also recommend that to teams, but they rarely do because of lack of knowledge, lack of resources, lack of budget and lack of time before deadline.
That said: the scale of the development teams allowed for that, as well as the education (usually at least a b.sc in computer science for every team member or an master degree in another science). (usually 40+ team or even teams! and another 15+ team dedicated test department)
Most of my audience that still uses Delphi or Lazarus are small teams from zero to 5 developers whose employers usually have an internal legacy software.
Most Delphi developers still present on teams are 40yo+ and high school graded (sometimes they are graduated, bachelor or have a college degree) with zero Lazarus experience;
The biggest part of teams are 30yo- and have never heard about neither Delphi nor Lazarus in their entire lives before getting that job.
Both groups have shallow experience on OOP and SQL.
I fully understand that is not your average workfloor but it is how I use to develop.
My workflow is to prepare and follow teams that are not used to OOP to learn fast and at low cost some OOP and some SQL to migrate Windows legacy applications (usually Clipper, VB, Java or Delphi) to (Linux and Windows) Lazarus or PHP or both. And migrate databases such as Oracle, MS SQL Server, Sybase, PostgreSQL, MySQL, Interbase, MS Access, DBase or Paradox to Firebird.
Brazil holds the largest events on Delphi and Firebird on Earth.
http://tkssoftware.com/victory/top-5-at-embarcadero-conference-brazil-2016/(these are all banks - not small ones - , I am a trade specialist if I had to choose one specialism, but closer to CTO on department scale, not corporate scale, if you didn't know that)
I know what you mean.
Here, it's rare to see big companies developing their new core software using Delphi or Lazarus. Of course there are some, bu it's not what it used to be any more.
I always joke to close friends that our job is like getting blood out of a stone.