If the battery is non-removable, does it even contain any electronics or is it just a bare cell which could be replaced with any common lithium cell?
No phones with bare lithium cell do exist, unless it's a some sort of special counterfeit crap. They have 3 terminals as minimum and protection circuit built in.
This third terminal is sometimes just a fixed resistor used for super-simplistic identification; sometimes it's a thermistor output, for measuring cell temperature. Some exotic batteries, think about Sony products, did include anti-copy bullshit measures on the third pin, but that seems to be more of an exception than a rule (and is actually related more to copy protection, than to battery safety.)
Additionally, they tend to have fuses, mechanical or PTC.
Otherwise than that, they tend to be "bare" cells, because it's simpler to have the voltage protection circuitry on the main PCB of the phone.
For modern phones with batteries the user cannot replace, it makes even less sense to add separate protection boards, or even excess fusing, just a bare pouch cell is typical. Why would they have anything else, is beyond me.