Why do some devices use electrolytic capacitors instead of ceramics for small value components?
Both of your examples commonly care about ESL and ESR of a capacitor. Along with many other examples like LDO output stability etc. I have done designs like this using Tantalum instead of ceramics for the exact reason. Stuff from China will most likely use Electrolytic ones to save money.

There are still applications where the higher ESL and ESR of an Electrolytic capacitor is hard to replicate.

An incomplete list of applications that still may prefer Electrolytic or Tantalum over Ceramics


Linear Regulator output (for stability of the control loop).
Bulk input capacitors (to reduce inrush and inductive spikes that come with it).
Filters designed a long time ago...
Audio DC blocking (Due to lack of capacitance shift with applied voltage).