The Chronicles of Old Guy (2012) and other books in that series by Timothy J. Gawne are all fairly hard sci-fi (maybe not 100%, but close) about an AI embodied in a huge cybertank. The series is written by a neuroscientist with an MIT degree and a "general research interest is in the nature of the neural code, and the physical basis of human thought." The key idea is that in order for the cybertanks to not either go rogue or crazy they needed to have personalities based on how humans actually think so they identified with human culture. Timothy J. Gawne is able to mix
both fairly hard sci-fi and humor at the same time -- which seems pretty rare. I've been hoping for a sixth book in the series, but it has been two years since the last...
From the blurb of the fifth novel: "Everybody’s favorite self-aware weapon of mass destruction, the Odin-Class cybertank known as Old Guy, is back and charging into action as only a fusion-powered 2000 ton armored fighting vehicle can! Through a curious twist of fate, Old Guy finds himself back on Old Earth under the yoke of the vile and despicable Neoliberal oligarchs. Between a looming ecological disaster, renegade sentient bioweapons, inscrutable aliens, the recycling center from Hell, and an unlikely alliance between the Cult of Cthulhu and the Order of the Librarians Temporal, Old Guy must throw off his cybernetic shackles, defeat the Neoliberals, save the world, and launch a line of comfortable yet stylish footwear. "