First of all, tail strikes on take-off are obviously the result of overrotation, but this usually happens because the pilot rotates at the wrong speed. You pull back, expecting the plane to leave the ground, but instead the plane remains on the ground while the nose keeps going up. Also, you may be running out of runway if the calculations were off, so you'll pull back regardless.
About the weight sensors: good idea, but this is aviation, where everything has to work reliably in pretty difficult environmental circumstances. Even something as simple as a proximity switch to determine whether or not the gear is down, fails from time to time. We often deal with incorrect tire pressure indications, temperature indications, etcetera. Measuring the weight of a plane with sufficient precision is quite a bit more complex than a simple tire pressure reading, so I can't see any manufacturer trusting that kind of system enough to let it determine take-off settings by itself. Maybe as an extra crosscheck for the data from the loadsheet, sure, but not as the primary source of information.
People always go "we should replace the pilots with automated systems because pilots make too many mistakes", but they have no idea how many mechanical failures we deal with as part of the routine of our job. We make mistakes, sure. But so does automation.